rts-sim-module/consts/iscs_pscada.go

72 lines
2.6 KiB
Go
Raw Normal View History

2023-12-07 16:28:29 +08:00
package consts
2023-12-11 11:09:07 +08:00
// VoltageTransformerStateEnum ISCS变压器状态
type VoltageTransformerStateEnum = int8
2023-12-07 16:28:29 +08:00
const (
2023-12-11 11:09:07 +08:00
VtfNormal VoltageTransformerStateEnum = iota //正常
VtfFault //故障 (注意-变压器110kV/35kv没有此项)
VtfAlarm //报警
VtfCommunicationInterrupt //通讯中断
2023-12-07 16:28:29 +08:00
)
2023-12-11 11:09:07 +08:00
// TransBusbarZiTouStateEnum ISCS母联备自投状态
type TransBusbarZiTouStateEnum = int8
2023-12-07 16:28:29 +08:00
const (
2023-12-11 11:09:07 +08:00
TbztExit TransBusbarZiTouStateEnum = iota //备自投退出
TbztInput //备自投投入
TbztCommunicationInterrupt //通讯中断
2023-12-07 16:28:29 +08:00
)
2023-12-11 11:09:07 +08:00
// ThreePositionSwitchStateEnum ISCS三工位隔离开关状态
type ThreePositionSwitchStateEnum = int8
2023-12-07 16:28:29 +08:00
2023-12-11 11:09:07 +08:00
// 状态由该设备的其他组件运算得到,该状态组件对外为只读组件,面向用户
2023-12-07 16:28:29 +08:00
const (
2023-12-11 11:09:07 +08:00
TpsOpened ThreePositionSwitchStateEnum = iota //开闸
TpsDisconnectSwitchClosed //隔离开关合闸
TpsLandingSwitchClosed //接地开关合闸
TpsAbnormal //异常
TpsCommunicationInterrupt //通讯中断
2023-12-07 16:28:29 +08:00
)
2023-12-11 11:09:07 +08:00
// HandcartSwitchStateEnum ISCS手车状态
type HandcartSwitchStateEnum = int8
2023-12-07 16:28:29 +08:00
const (
2023-12-11 11:09:07 +08:00
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 //通讯中断/异常
2023-12-07 16:28:29 +08:00
)