Compare commits

..

2 Commits

Author SHA1 Message Date
孙小云 622504aff4 添加舱门状态 2026-01-21 18:33:36 +08:00
孙小云 964a8427a1 添加空调状态 2026-01-21 18:31:50 +08:00
2 changed files with 52 additions and 1 deletions

View File

@ -0,0 +1,51 @@
package com.ruoyi.device.api.enums;
/**
* 舱门状态枚举
*
* @author ruoyi
* @date 2026-01-21
*/
public enum CabinDoorStatusEnum {
/**
* 关闭
*/
CLOSED("CLOSED", "关闭"),
/**
* 打开
*/
OPEN("OPEN", "打开"),
/**
* 半开
*/
HALF_OPEN("HALF_OPEN", "半开"),
/**
* 舱盖状态异常
*/
ABNORMAL("ABNORMAL", "舱盖状态异常");
private final String code;
private final String description;
CabinDoorStatusEnum(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;
}
}

@ -1 +1 @@
Subproject commit 372a289cf7bdfcd2236fb7c72ca374673d408e70
Subproject commit ec5dba7fc59bafbfb8d2c52224adb9fec6be31e5