Commit ba483e8ec28b87e35e632dca3cb30cda3109e392
Exists in
master
and in
54 other branches
Merge branch 'master' into expression-parser-bre
Showing
10 changed files
with
69 additions
and
4 deletions
Show diff stats
config/kernel/plotConfig.xml
... | ... | @@ -55,6 +55,11 @@ |
55 | 55 | <file index="1">cmap1_blue_red.pal</file> |
56 | 56 | <file index="2">cmap1_blue_yellow.pal</file> |
57 | 57 | <file index="3">cmap1_gray.pal</file> |
58 | + <file index="4">cmap1_amda_default.pal</file> | |
59 | + <file index="5">cmap1_geowhite.pal</file> | |
60 | + <file index="6">cmap1_geoblack.pal</file> | |
61 | + <file index="7">cmap1_dark_violet_yellow.pal</file> | |
62 | + <file index="8">cmap1_red_blue.pal</file> | |
58 | 63 | </coloraxis> |
59 | 64 | </colormap> |
60 | 65 | </root> |
... | ... |
... | ... | @@ -0,0 +1,11 @@ |
1 | +v2 rgb | |
2 | +9 | |
3 | +0.0000 0.0000 0.0000 0.0000 1 0 | |
4 | +0.0039 0.9606 0.7717 1.0000 1 0 | |
5 | +0.2353 0.1929 0.2008 1.0000 1 0 | |
6 | +0.4000 0.0669 0.9764 1.0000 1 0 | |
7 | +0.4863 0.0000 1.0000 0.5157 1 0 | |
8 | +0.5765 0.0236 1.0000 0.0157 1 0 | |
9 | +0.6750 0.8750 1.0000 0.0157 1 0 | |
10 | +0.7529 1.0000 0.9921 0.0394 1 0 | |
11 | +1.0000 1.0000 0.0000 0.0354 1 0 | |
... | ... |
... | ... | @@ -0,0 +1,11 @@ |
1 | +v2 rgb | |
2 | +9 | |
3 | +0.0000 1.0000 1.0000 1.0000 1 0 | |
4 | +0.0039 0.9606 0.7717 1.0000 1 0 | |
5 | +0.2353 0.1929 0.2008 1.0000 1 0 | |
6 | +0.4000 0.0669 0.9764 1.0000 1 0 | |
7 | +0.4863 0.0000 1.0000 0.5157 1 0 | |
8 | +0.5765 0.0236 1.0000 0.0157 1 0 | |
9 | +0.6750 0.8750 1.0000 0.0157 1 0 | |
10 | +0.7529 1.0000 0.9921 0.0394 1 0 | |
11 | +1.0000 1.0000 0.0000 0.0354 1 0 | |
... | ... |
src/InputOutput/IHMImpl/Tools/IHMParamManagerClass.php
... | ... | @@ -351,7 +351,7 @@ class IHMParamManagerClass |
351 | 351 | $res["param"]["info"]["viId"], $res["param"]["info"]["realVar"], |
352 | 352 | $res["param"]["info"]["minSampling"], $res["param"]["info"]["maxSampling"], |
353 | 353 | $res["param"]["info"]["type"],$res["param"]["info"]["size"], |
354 | - $res["param"]["dateModif"],true); | |
354 | + NULL,$res["param"]["dateModif"],true); | |
355 | 355 | |
356 | 356 | $newParamNode->getInfo()->setName($res["param"]["info"]['name']); |
357 | 357 | $newParamNode->getInfo()->setShortName($res["param"]["info"]['name']); |
... | ... | @@ -425,7 +425,7 @@ class IHMParamManagerClass |
425 | 425 | $res["param"]["info"]["viId"], $res["param"]["info"]["realVar"], |
426 | 426 | $res["param"]["info"]["minSampling"], $res["param"]["info"]["maxSampling"], |
427 | 427 | $res["param"]["info"]["type"],$res["param"]["info"]["size"], |
428 | - $res["param"]["dateModif"]); | |
428 | + $res["param"]["info"]["fillValue"],$res["param"]["dateModif"]); | |
429 | 429 | |
430 | 430 | if (!empty($res["param"]["info"]["yTitle"])) { |
431 | 431 | $newParamNode->getInfo()->setName($res["param"]["info"]['yTitle']); |
... | ... |
src/InputOutput/IHMImpl/Tools/IHMUserParamManagerClass.php
... | ... | @@ -41,6 +41,7 @@ class IHMUserParamManagerClass |
41 | 41 | private static $infoUploadedTypeNode = 'type'; |
42 | 42 | private static $infoUploadedSizeNode = 'size'; |
43 | 43 | private static $infoUploadedVIIdNode = 'vi'; |
44 | + private static $infoUploadedFillValNode = 'fillvalue'; | |
44 | 45 | private static $infoUploadedPlotTypeNode = 'plottype'; |
45 | 46 | private static $infoUploadedTableDefNode = 'tableDef'; |
46 | 47 | private static $infoUploadedUnitsNode = 'units'; |
... | ... | @@ -377,6 +378,12 @@ class IHMUserParamManagerClass |
377 | 378 | $plotTypeNodes = $dom->getElementsByTagName(self::$infoUploadedPlotTypeNode); |
378 | 379 | if ($plotTypeNodes->length > 0) |
379 | 380 | $result["plotType"] = $plotTypeNodes->item(0)->nodeValue; |
381 | + | |
382 | + //get parameter fil value | |
383 | + $result["fillValue"] = NULL; | |
384 | + $fillValueNodes = $dom->getElementsByTagName(self::$infoUploadedFillValNode); | |
385 | + if (($fillValueNodes->length > 0) && ($fillValueNodes->item(0)->nodeValue != '')) | |
386 | + $result["fillValue"] = $fillValueNodes->item(0)->nodeValue; | |
380 | 387 | |
381 | 388 | //get parameter y units |
382 | 389 | $unitsNodes = $dom->getElementsByTagName(self::$infoUploadedUnitsNode); |
... | ... |
src/Request/Config/KernelConfigClass.php
... | ... | @@ -220,6 +220,9 @@ class KernelConfigClass |
220 | 220 | foreach (self::$libArray as $lib) |
221 | 221 | $appProperties["app.process.LIB"] .= ("-l".$lib." "); |
222 | 222 | |
223 | + $appProperties["app.process.DYNAMIC_LOADING"] = "false"; | |
224 | + $appProperties["app.process.plugins.xml"] = KERNEL_CONFIG_DIR.'/plugins.xml'; | |
225 | + | |
223 | 226 | $appProperties["app.plot.configfile"] = KERNEL_CONFIG_DIR.'/'.self::$plotConfigFile; |
224 | 227 | |
225 | 228 | $appProperties["app.param.gapthreshold"] = self::$defaultGapThreshold; |
... | ... |
src/Request/ParamsRequestImpl/ParamsRequestDataClass.php
... | ... | @@ -213,12 +213,15 @@ class ParamsRequestDataClass extends ProcessRequestDataClass |
213 | 213 | return $this->localParamsToCreateAndCopy; |
214 | 214 | } |
215 | 215 | |
216 | - public function addLocalParamToCreate($paramId, $viId, $realVarId, $minSampling, $maxSampling, $type, $size, $dateModif, $isImpex = false) | |
216 | + public function addLocalParamToCreate($paramId, $viId, $realVarId, $minSampling, $maxSampling, $type, $size, $fillValue, $dateModif, $isImpex = false) | |
217 | 217 | { |
218 | 218 | $newParam = new ParamNodeClass(); |
219 | 219 | $newParam->setId($paramId); |
220 | 220 | |
221 | - $newParam->getInfo(); | |
221 | + $infoNode = $newParam->getInfo(); | |
222 | + if (isset($fillValue)) { | |
223 | + $infoNode->setFillVal($fillValue); | |
224 | + } | |
222 | 225 | |
223 | 226 | $localParamNode = $newParam->addParamGet(ParamGetTypeEnum::LOCALBASE); |
224 | 227 | $localParamNode->setVIId($viId); |
... | ... |