This commit is contained in:
xzb 2023-11-22 13:24:17 +08:00
parent 328774c739
commit e19251ee2f

View File

@ -26,6 +26,10 @@ func (t *TrainPositionInfo) ToString() string {
return fmt.Sprintf("Up=%t len=%d headLink=%s headOff=%d tailLink=%s tailOff=%d", t.Up, t.Len, t.HeadLink, t.HeadLinkOffset, t.TailLink, t.TailLinkOffset) return fmt.Sprintf("Up=%t len=%d headLink=%s headOff=%d tailLink=%s tailOff=%d", t.Up, t.Len, t.HeadLink, t.HeadLinkOffset, t.TailLink, t.TailLinkOffset)
} }
// TrainBtm 列车应答器传输模块
type TrainBtm struct {
}
var ( var (
TrainPositionInfoType = ecs.NewComponentType[TrainPositionInfo]() TrainPositionInfoType = ecs.NewComponentType[TrainPositionInfo]()
) )