diff --git a/component/train.go b/component/train.go index b3a91c2..23660f2 100644 --- a/component/train.go +++ b/component/train.go @@ -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) } +// TrainBtm 列车应答器传输模块 +type TrainBtm struct { +} + var ( TrainPositionInfoType = ecs.NewComponentType[TrainPositionInfo]() )