diff --git a/rts-sim-testing-message b/rts-sim-testing-message index bc7ca44..9441316 160000 --- a/rts-sim-testing-message +++ b/rts-sim-testing-message @@ -1 +1 @@ -Subproject commit bc7ca44ffd0a95f8a1ae14b391f93b28b11a452b +Subproject commit 94413167c079aaa7aa9717a0e4a6281a21c49244 diff --git a/ts/simulation/wayside/memory/wayside_simulation.go b/ts/simulation/wayside/memory/wayside_simulation.go index 85c3be6..825a116 100644 --- a/ts/simulation/wayside/memory/wayside_simulation.go +++ b/ts/simulation/wayside/memory/wayside_simulation.go @@ -1297,6 +1297,13 @@ func fillProtoRepository(repo *proto.Repository, storage *data_proto.RtssGraphic SameTrend: data.SameTrend, }) } + //公里标校准数据 + for _, calibration := range storage.KilometerMarkCalibrations { + repo.KilometerCalibrations = append(repo.KilometerCalibrations, &proto.KilometerCalibration{ + Design: convertKm(calibration.DesignKm), + Actual: convertKm(calibration.ActualKm), + }) + } //// 初始化站场图按钮 //for _, data := range storage.EsbButtons { // repo.Buttons = append(repo.Buttons, &proto.Button{