Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
a3f6982dab
@ -309,3 +309,58 @@ var (
|
||||
SignalJCKXHLsqType = ecs.NewComponentType[SignalJCKXHLsq]()
|
||||
SignalJCKXHLscType = ecs.NewComponentType[SignalJCKXHLsc]()
|
||||
)
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
|
||||
// SignalJDXHElectronic 电路状态:信号机JDXH(红-绿-黄) 进段信号机(三显示不封灯、无单黄显示、带引导)
|
||||
type SignalJDXHElectronic struct {
|
||||
// 2DJ灯丝继电器,true-吸合
|
||||
JDXH_2DJ *ecs.Entry
|
||||
//灯丝继电器,true-吸合
|
||||
JDXH_DJ *ecs.Entry
|
||||
//列车信号继电器,true-吸合
|
||||
JDXH_LXJ *ecs.Entry
|
||||
//引导信号继电器,true-吸合
|
||||
JDXH_YXJ *ecs.Entry
|
||||
}
|
||||
|
||||
// SignalJDXHFilament 信号机JDXH 灯丝状态
|
||||
type SignalJDXHFilament struct {
|
||||
// 物理黄灯,true-灯丝正常
|
||||
Uf bool
|
||||
// 物理绿灯,true-灯丝正常
|
||||
Lf bool
|
||||
// 物理红灯,true-灯丝正常
|
||||
Hf bool
|
||||
// 物理黄灯,true-亮
|
||||
U bool
|
||||
// 物理绿灯,true-亮
|
||||
L bool
|
||||
// 物理红灯,true-亮
|
||||
H bool
|
||||
}
|
||||
|
||||
// SignalJDXHLsq 联锁驱
|
||||
type SignalJDXHLsq struct {
|
||||
//true-联锁施加励磁电流驱动继电器YZHJ-引导转换继电器
|
||||
JDXH_YZHJ_Q bool
|
||||
////true-联锁施加励磁电流驱动继电器LXJ
|
||||
JDXH_LXJ_Q bool
|
||||
}
|
||||
|
||||
// SignalJDXHLsc 联锁采
|
||||
type SignalJDXHLsc struct {
|
||||
//true-继电器DJ吸起
|
||||
JDXH_DJ_Xq bool
|
||||
//true-继电器2DJ吸起
|
||||
JDXH_2DJ_Xq bool
|
||||
//true-继电器LXJ吸起
|
||||
JDXH_LXJ_Xq bool
|
||||
//true-继电器YZHJ和YXJ吸起
|
||||
JDXH_YZHJ_YXJ_Xq bool
|
||||
}
|
||||
|
||||
var (
|
||||
SignalJDXHElectronicType = ecs.NewComponentType[SignalJDXHElectronic]()
|
||||
SignalJDXHFilamentType = ecs.NewComponentType[SignalJDXHFilament]()
|
||||
)
|
||||
|
@ -1,36 +0,0 @@
|
||||
package component
|
||||
|
||||
import "joylink.club/ecs"
|
||||
|
||||
// SignalJDXHElectronic 电路状态:信号机JDXH(红-绿-黄) 进段信号机(三显示不封灯、无单黄显示、带引导)
|
||||
type SignalJDXHElectronic struct {
|
||||
// 2DJ灯丝继电器,true-吸合
|
||||
JDXH_2DJ *ecs.Entry
|
||||
//灯丝继电器,true-吸合
|
||||
JDXH_DJ *ecs.Entry
|
||||
//列车信号继电器,true-吸合
|
||||
JDXH_LXJ *ecs.Entry
|
||||
//引导信号继电器,true-吸合
|
||||
JDXH_YXJ *ecs.Entry
|
||||
}
|
||||
|
||||
// SignalJDXHFilament 信号机JDXH 灯丝状态
|
||||
type SignalJDXHFilament struct {
|
||||
// 物理黄灯,true-灯丝正常
|
||||
Uf bool
|
||||
// 物理绿灯,true-灯丝正常
|
||||
Lf bool
|
||||
// 物理红灯,true-灯丝正常
|
||||
Hf bool
|
||||
// 物理黄灯,true-亮
|
||||
U bool
|
||||
// 物理绿灯,true-亮
|
||||
L bool
|
||||
// 物理红灯,true-亮
|
||||
H bool
|
||||
}
|
||||
|
||||
var (
|
||||
SignalJDXHElectronicType = ecs.NewComponentType[SignalJDXHElectronic]()
|
||||
SignalJDXHFilamentType = ecs.NewComponentType[SignalJDXHFilament]()
|
||||
)
|
Loading…
Reference in New Issue
Block a user