添加枚举解释

This commit is contained in:
孙小云 2026-01-23 17:03:01 +08:00
parent e942018c3f
commit 8371f1ae16
2 changed files with 11 additions and 6 deletions

View File

@ -114,7 +114,8 @@ public class DockDetailVO extends DockVO {
/**
* 网络类型
*/
@Schema(description = "网络类型")
@Schema(description = "网络类型: FOUR_G-4G, ETHERNET-以太网, WIRED-有线, FIVE_G-5G, TWO_POINT_FOUR_G-2.4G",
allowableValues = {"FOUR_G", "ETHERNET", "WIRED", "FIVE_G", "TWO_POINT_FOUR_G"})
@Excel(name = "网络类型")
private String networkType;
@ -146,7 +147,8 @@ public class DockDetailVO extends DockVO {
/**
* 机场状态
*/
@Schema(description = "机场运行状态")
@Schema(description = "机场运行状态: IDLE-空闲中, Debugging-现场调试/远程调试, Upgrading-固件升级中, Working-作业中, UNKNOWN-待标定, OFFLINE-离线",
allowableValues = {"IDLE", "Debugging", "Upgrading", "Working", "UNKNOWN", "OFFLINE"})
@Excel(name = "机场运行状态")
private String dockRunStatus;
@ -188,21 +190,24 @@ public class DockDetailVO extends DockVO {
/**
* 升降架位置
*/
@Schema(description = "升降架位置")
@Schema(description = "升降架位置: BOTTOM-底部, TOP-顶部",
allowableValues = {"BOTTOM", "TOP"})
@Excel(name = "升降架位置")
private String elevatorPosition;
/**
* X轴夹状态
*/
@Schema(description = "X轴夹状态")
@Schema(description = "X轴夹状态: OPEN-开启, CLOSE-关闭",
allowableValues = {"OPEN", "CLOSE"})
@Excel(name = "X轴夹状态")
private String xAxisClampStatus;
/**
* Y轴夹状态
*/
@Schema(description = "Y轴夹状态")
@Schema(description = "Y轴夹状态: OPEN-开启, CLOSE-关闭",
allowableValues = {"OPEN", "CLOSE"})
@Excel(name = "Y轴夹状态")
private String yAxisClampStatus;

@ -1 +1 @@
Subproject commit 603b62cf212313eb63355c9562457d5975f5bafc
Subproject commit 1cf82176a79864bccb39122a68dc455f28b4a9c5