[新增]设备公里表长短链校正
This commit is contained in:
parent
fa600673a6
commit
a165321c39
@ -1 +1 @@
|
||||
Subproject commit bc7ca44ffd0a95f8a1ae14b391f93b28b11a452b
|
||||
Subproject commit 94413167c079aaa7aa9717a0e4a6281a21c49244
|
@ -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{
|
||||
|
Loading…
Reference in New Issue
Block a user