修改仿真构建bug;公里标转换不再考虑方向
This commit is contained in:
parent
62c6482584
commit
764639a74a
@ -493,11 +493,11 @@ func findTurnoutIds(axleCountingMap map[string]*graphicData.AxleCounting, axleId
|
||||
func buildKmConverts(ksList []*graphicData.KilometerSystem) []*proto.KilometerConvert {
|
||||
var kmConverts []*proto.KilometerConvert
|
||||
for i, ks := range ksList {
|
||||
if ks.Kilometer == 0 || ks.CoordinateSystem == "" {
|
||||
if ks.CoordinateSystem == "" {
|
||||
continue
|
||||
}
|
||||
for j := i + 1; j < len(ksList); j++ {
|
||||
if ksList[j].Kilometer == 0 || ksList[j].CoordinateSystem == "" {
|
||||
if ksList[j].CoordinateSystem == "" {
|
||||
continue
|
||||
}
|
||||
kmConverts = append(kmConverts, buildKmConvert(ks, ksList[j]))
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 026b04e539d3369f672a45a8d6e4cc4383929498
|
||||
Subproject commit 0dfee803453857329f121f37e5a2e88cebd1ea67
|
Loading…
Reference in New Issue
Block a user