This commit is contained in:
xzb 2023-09-22 17:50:25 +08:00
parent c501d14400
commit 8a8302dc03

View File

@ -101,9 +101,9 @@ type OpenCode int8
// 开门码枚举
const (
OpenCodeNon OpenCode = iota + 1 //无效开门码
OpenCodeUp //运行方向为上行的开门码
OpenCodeDown //运行方向为下行的开门码
OpenCodeNon OpenCode = iota //无效开门码
OpenCodeUp //运行方向为上行的开门码
OpenCodeDown //运行方向为下行的开门码
)
const (
PsdCellRateClosed int8 = 0
@ -166,6 +166,13 @@ func (me *PsdsCircuitSystem) calculateCellMove(w ecs.World, cellEntry *ecs.Entry
}
}
// 车站屏蔽门电路系统继电器励磁运算 ???-----信息缺失
func (me *PsdsCircuitSystem) calculateRelayLc(w ecs.World, psdCircuitEntry *ecs.Entry) {
//psd := PsdCircuitStateComponent.Get(psdCircuitEntry)
//
}
// 车站上行侧所有屏蔽门子门关运算
func (me *PsdsCircuitSystem) calculateSMG(w ecs.World, psdCircuitEntry *ecs.Entry) {
tags := PsdTagsComponent.Get(psdCircuitEntry)