|
|
|
@ -286,7 +286,7 @@ public class PtlPcnEnumUtil {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 反馈信号子命令
|
|
|
|
|
* 反馈信号子命令(灭灯状态)
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
|
public enum SIGNAL_CHILD_CMD {
|
|
|
|
@ -312,6 +312,16 @@ public class PtlPcnEnumUtil {
|
|
|
|
|
this.description = description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static SIGNAL_CHILD_CMD getByValue(String code) {
|
|
|
|
|
for (SIGNAL_CHILD_CMD signalChildCmd : values()) {
|
|
|
|
|
if (signalChildCmd.getCode() == code) {
|
|
|
|
|
return signalChildCmd;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public String getCode() {
|
|
|
|
|
return code;
|
|
|
|
|
}
|
|
|
|
|