diff --git a/ts/simulation/wayside/memory/wayside_simulation.go b/ts/simulation/wayside/memory/wayside_simulation.go index 9726ebb..1fe3435 100644 --- a/ts/simulation/wayside/memory/wayside_simulation.go +++ b/ts/simulation/wayside/memory/wayside_simulation.go @@ -1,7 +1,6 @@ package memory import ( - "encoding/binary" "encoding/json" "fmt" "log/slog" @@ -381,7 +380,7 @@ func (s *VerifySimulation) HandleSemiPhysicalTrainControlMsg(b []byte) { panic(dto.ErrorDto{Code: dto.ArgumentParseError, Message: err.Error()}) } d := append(b, uint8(trainId)) - d = binary.BigEndian.AppendUint16(d, uint16(train.WheelDiameter)) + //d = binary.BigEndian.AppendUint16(d, uint16(train.WheelDiameter)) // 发送给动力学 dynamics.Default().SendTrainControlMessage(d) // 存放至列车中