diff --git a/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php b/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php index 4613f8e..13dfbf2 100644 --- a/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php +++ b/src/InputOutput/IHMImpl/Params/PlotImpl/IHMInputOutputParamsPlotClass.php @@ -67,6 +67,8 @@ class IHMInputOutputParamsPlotClass extends IHMInputOutputParamsAbstractClass $plotOutputNode->setWriteContextFile($this->isInteractiveRequest ? "true" : "false"); + $plotOutputNode->setWriteDataFile($this->isInteractiveRequest ? "true" : "false"); + $compression = ""; if (!$this->isInteractiveRequest && !$this->isFromWS) { switch ($input->{'file-output'}) { diff --git a/src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotNodeClass.php b/src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotNodeClass.php index feb950d..cc122aa 100644 --- a/src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotNodeClass.php +++ b/src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotNodeClass.php @@ -5,6 +5,7 @@ require_once("RequestOutputPostProcessingNodeClass.php"); define ("REQUESTOUTPUTPLOT_NAME", "plot"); define ("REQUESTOUTPUTPLOT_WRITECONTEXTFILE", "writeContextFile"); +define ("REQUESTOUTPUTPLOT_WRITEDATAFILE", "writeDataFile"); define ("REQUESTOUTPUTPLOT_STRUCTURE", "outputStructure"); define ("REQUESTOUTPUTPLOT_FILEPREFIX", "filePrefix"); @@ -54,6 +55,16 @@ class RequestOutputPlotNodeClass extends NodeClass return $this->getAttribute(REQUESTOUTPUTPLOT_WRITECONTEXTFILE); } + public function setWriteDataFile($write) + { + $this->setAttribute(REQUESTOUTPUTPLOT_WRITEDATAFILE, $write); + } + + public function getWritDataFile() + { + return $this->getAttribute(REQUESTOUTPUTPLOT_WRITEDATAFILE); + } + public function setFilePrefix($prefix) { $node = $this->getChildInstanceByName(REQUESTOUTPUTPLOT_FILEPREFIX, true); @@ -109,6 +120,8 @@ class RequestOutputPlotNodeClass extends NodeClass $this->setStructure($this->getXmlNodeValue($structureXmlNode)); $this->setWriteContextFile($this->getXmlNodeAttribute($xmlNode, REQUESTOUTPUTPLOT_WRITECONTEXTFILE)); + + $this->setWriteDataFile($this->getXmlNodeAttribute($xmlNode, REQUESTOUTPUTPLOT_WRITEDATAFILE)); $fileprefixXmlNode = $this->getXmlNodeChildByTagName($xmlNode, REQUESTOUTPUTPLOT_FILEPREFIX); if (isset($fileprefixXmlNode)) -- libgit2 0.21.2