Promotic

mapSaveToString - method of the PmMap object

Description:
The method saves the content of the object (property names and values) into the string.
Syntax:
String mapSaveToString(String sOper)
Parameters:
sOper(String) Specifies the type of operation - this is not used so far. It is necessary to enter "" (empty string).
Return values:
Returns a string in the form: "Name1:Value1;Name2: ... ;". This is a text in the KeyVal format.
Note:
This method is also functional in Web panels.
See also:
Example:
JavaScriptSelect and copy to clipboard

var mMap = Pm.CreatePmMap();
mMap.Temperature = 85;
mMap.Pressure = 1013.85;
var sRet = mMap.mapSaveToString("");
// sRet contains "Temperature:85;Pressure:1013.85;"

History:
Pm8.03.12: new method mapSaveToString is now functional.
PROMOTIC 9.0.18 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.