Commit 4d0d4f01 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent 803a3b82
...@@ -44,7 +44,7 @@ async function init() { ...@@ -44,7 +44,7 @@ async function init() {
let config=last[last.length-2].replace('.csv','') let config=last[last.length-2].replace('.csv','')
let file=last[last.length-1].replace('.csv','') let file=last[last.length-1].replace('.csv','')
let data=getDataFromFileAndConfig(all,file,config) let data=getDataFromFileAndConfig(all,file,config)
console.log(file , config) // console.log(file , config)
dataFile.push(data) dataFile.push(data)
} }
let lastConfig=[] let lastConfig=[]
...@@ -59,7 +59,7 @@ for (let i=0;i<dataFile.length;i++) ...@@ -59,7 +59,7 @@ for (let i=0;i<dataFile.length;i++)
let atrPeriod=last[16] let atrPeriod=last[16]
lastConfig.push({name:name,timeStamp:timeStamp,pvtPeriod:pvtPeriod,atrFactor:atrFactor,atrPeriod:atrPeriod}) lastConfig.push({name:name,timeStamp:timeStamp,pvtPeriod:pvtPeriod,atrFactor:atrFactor,atrPeriod:atrPeriod})
} }
console.log('Done all configs:'+lastConfig.length)
createRunResfileADV(JSON.stringify(lastConfig, null, 2)) createRunResfileADV(JSON.stringify(lastConfig, null, 2))
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment