2023-09-22 18:33:01 +08:00
|
|
|
|
package consts
|
|
|
|
|
|
|
|
|
|
const (
|
2023-09-26 18:06:15 +08:00
|
|
|
|
TwoPosMin = 0
|
|
|
|
|
TwoPosMax = 10000
|
|
|
|
|
|
|
|
|
|
// 断相保护器超时时间,单位ms
|
|
|
|
|
DBQTimeout = 13 * 1000
|
2023-10-07 17:00:36 +08:00
|
|
|
|
// 切断继电器延时缓放电路缓放时间,单位ms
|
|
|
|
|
QDJ_DELAY = 3 * 1000
|
2023-09-26 18:06:15 +08:00
|
|
|
|
// 继电器缓放时间,单位ms
|
2023-09-27 18:39:18 +08:00
|
|
|
|
RelayHfTime = int(0.5 * 1000)
|
2023-09-22 18:33:01 +08:00
|
|
|
|
)
|
2023-10-08 13:11:34 +08:00
|
|
|
|
|
|
|
|
|
// 信号机电路继电器组合类型和功能名称常量
|
|
|
|
|
// 其他信号机的一并定义于此
|
|
|
|
|
const (
|
|
|
|
|
//继电器组合类型
|
|
|
|
|
SIGNAL_3XH1 = "3XH-1"
|
|
|
|
|
SIGNAL_3XH2 = "3XH-2"
|
|
|
|
|
SIGNAL_3XH3 = "3XH-3"
|
|
|
|
|
SIGNAL_3XH4 = "3XH-4"
|
|
|
|
|
SIGNAL_2XH1 = "2XH-1"
|
|
|
|
|
SIGNAL_JDXH = "JDXH"
|
|
|
|
|
SIGNAL_DCXH = "DCXH"
|
|
|
|
|
SIGNAL_JCKXH = "JCKXH"
|
|
|
|
|
//继电器功能名称
|
|
|
|
|
SIGNAL_DDJ = "DDJ"
|
|
|
|
|
SIGNAL_DJ = "DJ"
|
|
|
|
|
SIGNAL_2DJ = "2DJ"
|
|
|
|
|
SIGNAL_LXJ = "LXJ"
|
|
|
|
|
SIGNAL_YXJ = "YXJ"
|
|
|
|
|
SIGNAL_ZXJ = "ZXJ"
|
|
|
|
|
SIGNAL_DXJ = "DXJ"
|
|
|
|
|
)
|