【修改半实物仿真系统IP配置】

This commit is contained in:
weizhihong 2023-08-24 13:11:18 +08:00
parent af28993e24
commit c3d48fc03c
4 changed files with 4 additions and 4 deletions

View File

@ -199,7 +199,7 @@ func addTrain(c *gin.Context) {
HeadOffset: req.HeadOffset, HeadOffset: req.HeadOffset,
DevicePort: req.DevicePort, DevicePort: req.DevicePort,
RunDirection: req.RunDirection, RunDirection: req.RunDirection,
TrainLength: int64(service.CalcTrainLenght(req.TrainModelId, req.CarriageNum)), //TrainLength: int64(service.CalcTrainLenght(req.TrainModelId, req.CarriageNum)),
} }
memory.AddTrainState(simulation, rsp) memory.AddTrainState(simulation, rsp)
c.JSON(http.StatusOK, &rsp) c.JSON(http.StatusOK, &rsp)

View File

@ -13,7 +13,7 @@ dynamics:
httpPort: 7800 httpPort: 7800
# VOBC # VOBC
vobc: vobc:
ip: 10.60.1.52 ip: 10.60.1.59
localPort: 10000 localPort: 10000
remotePort: 4000 remotePort: 4000

View File

@ -13,7 +13,7 @@ dynamics:
httpPort: 7800 httpPort: 7800
# VOBC # VOBC
vobc: vobc:
ip: 10.60.1.52 ip: 10.60.1.59
localPort: 10000 localPort: 10000
remotePort: 4000 remotePort: 4000

View File

@ -13,7 +13,7 @@ dynamics:
httpPort: 7800 httpPort: 7800
# VOBC # VOBC
vobc: vobc:
ip: 10.60.1.52 ip: 10.60.1.59
localPort: 10000 localPort: 10000
remotePort: 4000 remotePort: 4000