2023-10-08 16:00:05 +08:00
|
|
|
|
package component
|
|
|
|
|
|
|
|
|
|
import "joylink.club/ecs"
|
|
|
|
|
|
2023-10-11 17:11:13 +08:00
|
|
|
|
// Signal2XH1Electronic 电路状态:**信号机2XH-1(红-绿) 出段(场)信号机 或 **出站区间阻挡信号机
|
|
|
|
|
type Signal2XH1Electronic struct {
|
|
|
|
|
// 点灯继电器,true-吸合,常态落下表示逻辑点灯
|
|
|
|
|
Z2XH1_DDJ *ecs.Entry
|
|
|
|
|
//灯丝继电器,true-吸合
|
|
|
|
|
Z2XH1_DJ *ecs.Entry
|
|
|
|
|
//列车信号继电器,true-吸合
|
|
|
|
|
Z2XH1_LXJ *ecs.Entry
|
|
|
|
|
//物理绿灯,true-亮
|
|
|
|
|
Z2XH1_L *ecs.Entry
|
|
|
|
|
// 物理红灯,true-亮
|
|
|
|
|
Z2XH1_H *ecs.Entry
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
//Signal2XH1ElectronicType 2XH1信号机电路组件
|
|
|
|
|
Signal2XH1ElectronicType = ecs.NewComponentType[Signal2XH1Electronic]()
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
2023-10-08 16:00:05 +08:00
|
|
|
|
// Signal3XH1Electronic 电路状态:信号机3XH-1(红-绿-黄) 道岔防护信号机(三显示不封灯,有单黄显示、带引导)
|
|
|
|
|
type Signal3XH1Electronic struct {
|
|
|
|
|
// 点灯继电器,true-吸合,常态落下表示逻辑点灯
|
|
|
|
|
Z3XH1_DDJ *ecs.Entry
|
|
|
|
|
//2DJ灯丝继电器,true-吸合
|
|
|
|
|
Z3XH1_2DJ *ecs.Entry
|
|
|
|
|
//灯丝继电器,true-吸合
|
|
|
|
|
Z3XH1_DJ *ecs.Entry
|
|
|
|
|
//列车信号继电器,true-吸合
|
|
|
|
|
Z3XH1_LXJ *ecs.Entry
|
|
|
|
|
//引导信号继电器,true-吸合
|
|
|
|
|
Z3XH1_YXJ *ecs.Entry
|
|
|
|
|
//开通正线信号继电器,true-吸合
|
|
|
|
|
Z3XH1_ZXJ *ecs.Entry
|
|
|
|
|
// 物理黄灯,true-亮
|
2023-10-11 16:57:48 +08:00
|
|
|
|
Z3XH1_U *ecs.Entry
|
2023-10-08 16:00:05 +08:00
|
|
|
|
// 物理绿灯,true-亮
|
2023-10-11 16:57:48 +08:00
|
|
|
|
Z3XH1_L *ecs.Entry
|
2023-10-08 16:00:05 +08:00
|
|
|
|
// 物理红灯,true-亮
|
2023-10-11 16:57:48 +08:00
|
|
|
|
Z3XH1_H *ecs.Entry
|
2023-10-08 16:00:05 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
Signal3XH1ElectronicType = ecs.NewComponentType[Signal3XH1Electronic]()
|
|
|
|
|
)
|
2023-10-11 17:25:25 +08:00
|
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
// Signal3XH2Electronic 电路状态:信号机3XH-2(红-绿-黄) 道岔防护信号机(三显示不封灯、无单黄显示、带引导)
|
|
|
|
|
// 引导信号:红黄
|
|
|
|
|
type Signal3XH2Electronic struct {
|
|
|
|
|
// 点灯继电器,true-吸合,常态落下表示逻辑点灯
|
|
|
|
|
Z3XH2_DDJ *ecs.Entry
|
|
|
|
|
//2DJ灯丝继电器,true-吸合
|
|
|
|
|
Z3XH2_2DJ *ecs.Entry
|
|
|
|
|
//灯丝继电器,true-吸合
|
|
|
|
|
Z3XH2_DJ *ecs.Entry
|
|
|
|
|
//列车信号继电器,true-吸合
|
|
|
|
|
Z3XH2_LXJ *ecs.Entry
|
|
|
|
|
//引导信号继电器,true-吸合
|
|
|
|
|
Z3XH2_YXJ *ecs.Entry
|
|
|
|
|
// 物理黄灯,true-亮
|
|
|
|
|
Z3XH2_U *ecs.Entry
|
|
|
|
|
// 物理绿灯,true-亮
|
|
|
|
|
Z3XH2_L *ecs.Entry
|
|
|
|
|
// 物理红灯,true-亮
|
|
|
|
|
Z3XH2_H *ecs.Entry
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
Signal3XH2ElectronicType = ecs.NewComponentType[Signal3XH2Electronic]()
|
|
|
|
|
)
|