diff --git a/fi/train.go b/fi/train.go index 39ac709..f30f56c 100644 --- a/fi/train.go +++ b/fi/train.go @@ -2,6 +2,7 @@ package fi import ( "fmt" + "joylink.club/ecs" "joylink.club/rtsssimulation/component" "joylink.club/rtsssimulation/entity" @@ -66,11 +67,11 @@ type TrainPositionInfo struct { //列车长度 mm Len uint32 //列车所在轨道link - HeadLink uint8 + HeadLink string //列车所在link偏移量(mm) HeadLinkOffset uint32 //列车所在轨道link - TailLink uint8 + TailLink string //列车所在link偏移量(mm) TailLinkOffset uint32 }