注释调整
This commit is contained in:
parent
4adeaedd5a
commit
29325f98db
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user