2023-12-11 17:16:51 +08:00
|
|
|
package consts
|
|
|
|
|
|
|
|
// DeviceExceptionEnum 设备例外枚举定义
|
|
|
|
type DeviceExceptionEnum = int8
|
|
|
|
|
|
|
|
const (
|
|
|
|
DeviceExceptionNon DeviceExceptionEnum = iota
|
|
|
|
DeviceCommunicationInterrupt //通信中断
|
|
|
|
DeviceAbnormal //异常
|
|
|
|
DeviceFault //故障 有预告信号产生
|
|
|
|
DeviceAlarm //报警 有事故信号产生
|
2023-12-12 14:41:39 +08:00
|
|
|
DeviceStartTimeout //启动超时
|
2023-12-14 13:33:18 +08:00
|
|
|
DeviceModuleFault //模块故障
|
2023-12-14 16:17:54 +08:00
|
|
|
DeviceFireAlarmMalfunction //火警故障
|
2023-12-11 17:16:51 +08:00
|
|
|
)
|