feat: kørsler følger markørnavne efter AD-omnummerering (v1.62.135)
This commit is contained in:
@@ -39,6 +39,9 @@ function ADRunsStorage.writeRecords(xmlFile, records)
|
||||
-- v2: udkørsel
|
||||
xmlFile:setString(key .. "#kind", record.kind or "supply")
|
||||
xmlFile:setString(key .. "#sources", record.sources or "")
|
||||
-- v4: markørnavne (følger markøren, når AutoDrive omnummererer vejpunkter)
|
||||
xmlFile:setString(key .. "#sourceNames", record.sourceNames or "")
|
||||
xmlFile:setString(key .. "#targetNames", record.targetNames or "")
|
||||
-- v3: bygninger (flow-tavlen)
|
||||
xmlFile:setString(key .. "#sourceBuildings", record.sourceBuildings or "")
|
||||
xmlFile:setString(key .. "#targetBuildings", record.targetBuildings or "")
|
||||
@@ -75,6 +78,8 @@ function ADRunsStorage.readRecords(xmlFile)
|
||||
returnBelow = xmlFile:getInt(key .. "#returnBelow"),
|
||||
kind = xmlFile:getString(key .. "#kind"),
|
||||
sources = xmlFile:getString(key .. "#sources"),
|
||||
sourceNames = xmlFile:getString(key .. "#sourceNames"),
|
||||
targetNames = xmlFile:getString(key .. "#targetNames"),
|
||||
sourceBuildings = xmlFile:getString(key .. "#sourceBuildings"),
|
||||
targetBuildings = xmlFile:getString(key .. "#targetBuildings"),
|
||||
storeBuildings = xmlFile:getString(key .. "#storeBuildings"),
|
||||
|
||||
Reference in New Issue
Block a user