平台修改意见20251120-新增PCS设备开关机
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
package com.xzzn.common.enums;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* device-通信状态
|
||||
*
|
||||
@ -31,4 +34,16 @@ public enum DeviceRunningStatus
|
||||
{
|
||||
return info;
|
||||
}
|
||||
|
||||
/** 停机状态 */
|
||||
public static List<String> getShutdownCodeList()
|
||||
{
|
||||
return Arrays.asList(SHUTDOWN.getCode());
|
||||
}
|
||||
|
||||
/** 运行状态 */
|
||||
public static List<String> getRunningCodeList()
|
||||
{
|
||||
return Arrays.asList(STANDBY.getCode(), RUNNING.getCode(), FAULT.getCode());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user