Commit fe74bf8e1fec2c134f27e06336339e52fc7cc2e9

Authored by Elena.Budnik
1 parent 25f87ff8

instrument id for remote

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
php/RemoteDataCenter/RemoteParamManager.php
@@ -120,6 +120,7 @@ class RemoteParamManager @@ -120,6 +120,7 @@ class RemoteParamManager
120 } 120 }
121 121
122 $fillValue = $this->center->getParamFillValue(); 122 $fillValue = $this->center->getParamFillValue();
  123 +
123 if (!$fillValue) 124 if (!$fillValue)
124 $fillValue = null; 125 $fillValue = null;
125 126
@@ -130,8 +131,8 @@ class RemoteParamManager @@ -130,8 +131,8 @@ class RemoteParamManager
130 $infoNode->appendChild($xml->createElement("si_conversion")); 131 $infoNode->appendChild($xml->createElement("si_conversion"));
131 $infoNode->appendChild($xml->createElement("fill_value", $fillValue)); 132 $infoNode->appendChild($xml->createElement("fill_value", $fillValue));
132 $infoNode->appendChild($xml->createElement("ucd")); 133 $infoNode->appendChild($xml->createElement("ucd"));
133 - $infoNode->appendChild($xml->createElement("dataset_id"));  
134 - $infoNode->appendChild($xml->createElement("instrument_id")); 134 + $infoNode->appendChild($xml->createElement("dataset_id",strtolower($this->center->ViId)));
  135 + $infoNode->appendChild($xml->createElement("instrument_id",strtolower($this->center->baseID." ".$this->center->ViId)));
135 136
136 $getNode = $xml->createElement("get"); 137 $getNode = $xml->createElement("get");
137 $viNode = $xml->createElement("vi"); 138 $viNode = $xml->createElement("vi");