修改数据构建bug
This commit is contained in:
parent
dd81eedecd
commit
6bd4013bfc
|
@ -362,10 +362,10 @@ func initGraphicStructure(graphicData *graphicData.RtssGraphicStorage, verifyStr
|
|||
initGraphicLogicSections(graphicData.LogicSections, verifyStructure, graphicDataMap)
|
||||
// 初始化信号机信息
|
||||
initGraphicSignal(graphicData.Signals, verifyStructure, graphicDataMap)
|
||||
// 初始化Link信息
|
||||
initLinks(graphicData.CalculateLink, verifyStructure, graphicDataMap)
|
||||
// 初始化坡度和曲线端点
|
||||
initPoints(graphicData, verifyStructure, graphicDataMap)
|
||||
// 初始化Link信息
|
||||
initLinks(graphicData.CalculateLink, verifyStructure, graphicDataMap)
|
||||
// 初始化坡度
|
||||
initSlopes(graphicData.Slopes, verifyStructure, graphicDataMap)
|
||||
// 初始化曲线
|
||||
|
@ -477,7 +477,7 @@ func initLinks(links []*graphicData.CalculateLink, vs *VerifyStructure, dataMap
|
|||
}
|
||||
vs.LinkModelMap[link.Index] = linkModel
|
||||
dataMap.CalcLinkMap[link.Index] = link
|
||||
//构建DevicePosition(DP)切片(暂时仅计轴和道岔)
|
||||
//构建DevicePosition(DP)切片
|
||||
var dps []*ref.DevicePosition
|
||||
for _, dp := range link.DevicePositions {
|
||||
modeller := deviceIdMap[dp.DeviceId]
|
||||
|
|
Loading…
Reference in New Issue