修改无人机挂载状态

This commit is contained in:
孙小云 2026-01-21 17:05:10 +08:00
parent f3a075ec4e
commit dad884536c
3 changed files with 10 additions and 51 deletions

View File

@ -1,46 +0,0 @@
package com.ruoyi.device.api.enums;
/**
* 挂载类型枚举
*
* @author ruoyi
* @date 2026-01-21
*/
public enum PayloadType {
/**
* 喊话器
*/
SPEAKER("SPEAKER", "喊话器"),
/**
* 相机
*/
CAMERA("CAMERA", "相机"),
/**
* 其他挂载
*/
OTHER("OTHER", "其他");
private final String code;
private final String description;
PayloadType(String code, String description) {
this.code = code;
this.description = description;
}
public String getCode() {
return code;
}
public String getDescription() {
return description;
}
@Override
public String toString() {
return code;
}
}

View File

@ -4,7 +4,7 @@ package com.ruoyi.device.api.enums;
* 挂载类型枚举
*
* @author ruoyi
* @date 2026-01-20
* @date 2026-01-21
*/
public enum PayloadTypeEnum {
@ -14,9 +14,14 @@ public enum PayloadTypeEnum {
SPEAKER("SPEAKER", "喊话器"),
/**
* 四光相机
* 相机
*/
QUAD_CAMERA("QUAD_CAMERA", "四光相机");
CAMERA("CAMERA", "相机"),
/**
* 其他挂载
*/
OTHER("OTHER", "其他");
private final String code;
private final String description;

@ -1 +1 @@
Subproject commit 35c0cf0c63062473179a4c76d0cb4158adb60d4f
Subproject commit 48641d76eb3836f9ff0c666321755df2b7cabeb8