diff --git a/sys/circuit_sys/psd.go b/sys/circuit_sys/psd.go index dfbe5c5..63835f1 100644 --- a/sys/circuit_sys/psd.go +++ b/sys/circuit_sys/psd.go @@ -70,20 +70,21 @@ func (p *PsdSys) Update(world ecs.World) { var pabTd bool for _, mkxEntry := range pmc.MkxList { mkx := component.MkxType.Get(mkxEntry) + //门控箱站台门关闭 pcb := component.BitStateType.Get(mkx.PCB) if !pcb.BypassEnable { if mkx.PCB != nil && pcb.Val { pcbTd = true } } - + //门控箱站台门打开 pob := component.BitStateType.Get(mkx.POB) if !pob.BypassEnable { if mkx.POB != nil && pob.Val { pobTd = true } } - + //门控箱站台确认 pab := component.BitStateType.Get(mkx.PAB) if !pab.BypassEnable { if mkx.PAB != nil && pab.Val {