feat: regel 'Hent først når kilden er over X %' for salgsflows (v1.62.68)
This commit is contained in:
@@ -47,6 +47,7 @@ function ADRunsStorage.writeRecords(xmlFile, records)
|
||||
xmlFile:setInt(key .. "#sellAt", record.sellAt or ADRuns.DEFAULT_SELL_AT_PERCENT)
|
||||
xmlFile:setInt(key .. "#storeAbove", record.storeAbove or ADRuns.DEFAULT_STORE_ABOVE_PERCENT)
|
||||
xmlFile:setInt(key .. "#sellAbove", record.sellAbove or 0)
|
||||
xmlFile:setInt(key .. "#minSource", record.minSource or 0)
|
||||
xmlFile:setInt(key .. "#collectRound", record.collectRound or 0)
|
||||
-- maskinpulje: flowet stoppet + husket vogn pr. traktor
|
||||
xmlFile:setInt(key .. "#stopped", record.stopped or 0)
|
||||
@@ -81,6 +82,7 @@ function ADRunsStorage.readRecords(xmlFile)
|
||||
sellAt = xmlFile:getInt(key .. "#sellAt"),
|
||||
storeAbove = xmlFile:getInt(key .. "#storeAbove"),
|
||||
sellAbove = xmlFile:getInt(key .. "#sellAbove"),
|
||||
minSource = xmlFile:getInt(key .. "#minSource"),
|
||||
collectRound = xmlFile:getInt(key .. "#collectRound"),
|
||||
stopped = xmlFile:getInt(key .. "#stopped"),
|
||||
sleeping = xmlFile:getInt(key .. "#sleeping"),
|
||||
|
||||
Reference in New Issue
Block a user