From 0c0b5ee3f4cf076b23252e3cd5204ad46e43e7e3 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Wed, 12 May 2021 08:44:42 +0200 Subject: [PATCH] structure in download request => filestructure --- src/InputOutput/IHMImpl/Params/DownloadImpl/IHMInputOutputParamsDownloadClass.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/InputOutput/IHMImpl/Params/DownloadImpl/IHMInputOutputParamsDownloadClass.php b/src/InputOutput/IHMImpl/Params/DownloadImpl/IHMInputOutputParamsDownloadClass.php index 8a7a24b..2347fb7 100644 --- a/src/InputOutput/IHMImpl/Params/DownloadImpl/IHMInputOutputParamsDownloadClass.php +++ b/src/InputOutput/IHMImpl/Params/DownloadImpl/IHMInputOutputParamsDownloadClass.php @@ -15,7 +15,7 @@ class IHMInputOutputParamsDownloadClass extends IHMInputOutputParamsAbstractClas */ protected function unmarshallRequest($input) { - //{"nodeType":"download","type":"Download","downloadSrc":"0","structure":"2","sampling":600,"separateInfoFile":false,"output":"", + //{"nodeType":"download","type":"Download","downloadSrc":"0","filestructure":"2","sampling":600,"separateInfoFile":false,"output":"", // "header":"0","timesrc":"TimeTable","timeTables":[{"timeTableName":"rzerzer","id":"tt_1"},{"timeTableName":"sqsdq","id":"tt_0"}], //"list":["dst"],"milli":false,"fileformat":"ASCII","timeformat":"YYYY-MM-DDThh:mm:ss","compression":"tar+gzip","leaf":true} @@ -105,7 +105,7 @@ class IHMInputOutputParamsDownloadClass extends IHMInputOutputParamsAbstractClas } //filestructureData : [['0','All In One File'], ['1','One File Per Time Interval'], ['2','One File Per Param/Interval']], - switch ($input->structure) + switch ($input->filestructure) { case "0" : if (!$input->refparamSampling) -- libgit2 0.21.2