rts-sim-module/consts/iscs_bas.go
2023-12-15 14:24:14 +08:00

15 lines
580 B
Go

package consts
// DeviceExceptionEnum 设备例外枚举定义
type DeviceExceptionEnum = int8
const (
DeviceExceptionNon DeviceExceptionEnum = iota
DeviceCommunicationInterrupt //通信中断
DeviceAbnormal //异常
DeviceFault //故障 有预告信号产生
DeviceAlarm //报警 有事故信号产生
DeviceStartTimeout //启动超时
DeviceModuleFault //模块故障
)