平台修改意见20251120-新增PCS设备开关机

This commit is contained in:
zq
2025-12-12 13:25:53 +08:00
parent e73787ee8f
commit c6fca8b939
6 changed files with 69 additions and 2 deletions

View File

@ -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());
}
}