rts-sim-module/consts/iscs_pscada.go

72 lines
2.6 KiB
Go

package consts
// VoltageTransformerStateEnum ISCS变压器状态
type VoltageTransformerStateEnum = int8
const (
VtfNormal VoltageTransformerStateEnum = iota //正常
VtfFault //故障 (注意-变压器110kV/35kv没有此项)
VtfAlarm //报警
VtfCommunicationInterrupt //通讯中断
)
// TransBusbarZiTouStateEnum ISCS母联备自投状态
type TransBusbarZiTouStateEnum = int8
const (
TbztExit TransBusbarZiTouStateEnum = iota //备自投退出
TbztInput //备自投投入
TbztCommunicationInterrupt //通讯中断
)
// ThreePositionSwitchStateEnum ISCS三工位隔离开关状态
type ThreePositionSwitchStateEnum = int8
// 状态由该设备的其他组件运算得到,该状态组件对外为只读组件,面向用户
const (
TpsOpened ThreePositionSwitchStateEnum = iota //开闸
TpsDisconnectSwitchClosed //隔离开关合闸
TpsLandingSwitchClosed //接地开关合闸
TpsAbnormal //异常
TpsCommunicationInterrupt //通讯中断
)
// HandcartSwitchStateEnum ISCS手车状态
type HandcartSwitchStateEnum = int8
const (
HcsWorkPosOpened HandcartSwitchStateEnum = iota //工作位分闸
HcsWorkPosClosed //工作位合闸
HcsTestPos //实验位
HcsCommunicationInterrupt //通讯中断
)
// RectifierStateEnum ISCS整流器状态
type RectifierStateEnum = int8
const (
RsNormal RectifierStateEnum = iota //正常
RsFault //故障
RsAlarm //报警
RsCommunicationInterrupt //通讯中断
)
// CircuitBreakerStateEnum ISCS断路器状态
type CircuitBreakerStateEnum = int8
const (
CbsOpened CircuitBreakerStateEnum = iota //开闸
CbsClosed //合闸
CbsAbnormal //通讯中断/异常
)
// WireCabinetStateEnum ISCS线柜状态
type WireCabinetStateEnum = int8
const (
WcsNormal WireCabinetStateEnum = iota //正常
WcsFault //故障
WcsAlarm //报警
WcsAbnormal //通讯中断/异常
)