rts-sim-module/consts/iscs_bas.go

14 lines
515 B
Go
Raw Normal View History

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