Commit 0c0b5ee3f4cf076b23252e3cd5204ad46e43e7e3

Authored by Benjamin Renard
1 parent c907012c

structure in download request => filestructure

src/InputOutput/IHMImpl/Params/DownloadImpl/IHMInputOutputParamsDownloadClass.php
... ... @@ -15,7 +15,7 @@ class IHMInputOutputParamsDownloadClass extends IHMInputOutputParamsAbstractClas
15 15 */
16 16 protected function unmarshallRequest($input)
17 17 {
18   - //{"nodeType":"download","type":"Download","downloadSrc":"0","structure":"2","sampling":600,"separateInfoFile":false,"output":"",
  18 + //{"nodeType":"download","type":"Download","downloadSrc":"0","filestructure":"2","sampling":600,"separateInfoFile":false,"output":"",
19 19 // "header":"0","timesrc":"TimeTable","timeTables":[{"timeTableName":"rzerzer","id":"tt_1"},{"timeTableName":"sqsdq","id":"tt_0"}],
20 20 //"list":["dst"],"milli":false,"fileformat":"ASCII","timeformat":"YYYY-MM-DDThh:mm:ss","compression":"tar+gzip","leaf":true}
21 21  
... ... @@ -105,7 +105,7 @@ class IHMInputOutputParamsDownloadClass extends IHMInputOutputParamsAbstractClas
105 105 }
106 106  
107 107 //filestructureData : [['0','All In One File'], ['1','One File Per Time Interval'], ['2','One File Per Param/Interval']],
108   - switch ($input->structure)
  108 + switch ($input->filestructure)
109 109 {
110 110 case "0" :
111 111 if (!$input->refparamSampling)
... ...