rts-sim-module/consts/constant.go
2023-10-08 13:11:34 +08:00

36 lines
768 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package consts
const (
TwoPosMin = 0
TwoPosMax = 10000
// 断相保护器超时时间,单位ms
DBQTimeout = 13 * 1000
// 切断继电器延时缓放电路缓放时间单位ms
QDJ_DELAY = 3 * 1000
// 继电器缓放时间单位ms
RelayHfTime = int(0.5 * 1000)
)
// 信号机电路继电器组合类型和功能名称常量
// 其他信号机的一并定义于此
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"
)