Merge remote-tracking branch 'origin/main'

This commit is contained in:
gyb 2026-02-27 14:44:04 +08:00
commit 249dc49dc5
3 changed files with 74 additions and 0 deletions

View File

@ -42,4 +42,8 @@ public class DroneFlightControlRequest implements Serializable {
/** 幅度调整:数值类型 */ /** 幅度调整:数值类型 */
@Schema(description = "幅度调整(数值类型,单位:米)", example = "10") @Schema(description = "幅度调整(数值类型,单位:米)", example = "10")
private Integer amplitude; private Integer amplitude;
/** 消息ID */
@Schema(description = "消息ID", example = "9056")
private Long messageID;
} }

View File

@ -0,0 +1,35 @@
package com.ruoyi.device.api.domain;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
/**
* 无人机返航请求对象
*
* @author ruoyi
* @date 2026-02-27
*/
@Data
@Schema(description = "无人机返航请求对象")
public class DroneReturnHomeRequest implements Serializable {
private static final long serialVersionUID = 1L;
/** 机场SN号 */
@Schema(description = "机场SN号", example = "THJSQ03B2309DN7VQN43")
private String sn;
/** 消息ID */
@Schema(description = "消息ID", example = "9056")
private Long messageID;
/** 任务ID */
@Schema(description = "任务ID", example = "9074")
private Long taskId;
/** 返航类型 */
@Schema(description = "返航类型", example = "03")
private String zhilin;
}

View File

@ -0,0 +1,35 @@
package com.ruoyi.device.api.domain;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
/**
* 无人机起飞请求对象
*
* @author ruoyi
* @date 2026-02-27
*/
@Data
@Schema(description = "无人机起飞请求对象")
public class DroneTakeoffRequest implements Serializable {
private static final long serialVersionUID = 1L;
/** 机场SN号 */
@Schema(description = "机场SN号", example = "THJSQ03B2309DN7VQN43")
private String sn;
/** 消息ID */
@Schema(description = "消息ID", example = "9056")
private Long messageID;
/** 航线文件URL */
@Schema(description = "航线文件URL", example = "https://minio-jndsj.t-aaron.com:2443/th-airport/testFile/13912c62-b96f-4df5-ab65-813c8c4b04eb.waypoints")
private String airlineFileUrl;
/** 最低电池电量 */
@Schema(description = "最低电池电量", example = "0.3")
private Double flyBatteryMin;
}