From 3f9adca4b0f0ec820264eab2b2ee132a18e70a46 Mon Sep 17 00:00:00 2001 From: weizhihong Date: Fri, 10 Nov 2023 10:50:09 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9linkId=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fi/train.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 }