【注释轮径信息】

This commit is contained in:
weizhihong 2023-11-15 11:03:46 +08:00
parent 40662afc18
commit bef31c4dbb
1 changed files with 1 additions and 2 deletions

View File

@ -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)
// 存放至列车中