日志调整及现场测试
This commit is contained in:
parent
ed4dc9a224
commit
650488e1c7
@ -94,9 +94,12 @@ func (s *semiPhysicalTrainImpl) Stop() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *semiPhysicalTrainImpl) SendTrainControlMessage(info *message.DynamicsTrainInfo) {
|
func (s *semiPhysicalTrainImpl) SendTrainControlMessage(info *message.DynamicsTrainInfo) {
|
||||||
sendMsg := &message.TrainSpeedMsg{}
|
if s.trainSpeedInfoUdpClient != nil {
|
||||||
sendMsg.DynamicsDecode(info)
|
sendMsg := &message.TrainSpeedMsg{}
|
||||||
s.trainSpeedInfoUdpClient.Send(sendMsg.Encode())
|
sendMsg.DynamicsDecode(info)
|
||||||
|
s.trainSpeedInfoUdpClient.Send(sendMsg.Encode())
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *semiPhysicalTrainImpl) initSemiPhysical() {
|
func (s *semiPhysicalTrainImpl) initSemiPhysical() {
|
||||||
|
Loading…
Reference in New Issue
Block a user