Update cookies preferences
Promotic

mapLoadFromString - method of the PmMap object

Description:
The method creates new properties (one or more) and their values in the object.
If the property already exists in the object, then only its value is changed.
Syntax:
Empty mapLoadFromString(String sOper, String sString)
Parameters:
sOper(String) Specifies the type of the operation - this is not used so far. It is necessary to enter "" (empty string).
sString(String) The text string containing definitions of property names and values.
The text string syntax is: "Name1:Value1;Name2: … ;".
This is a text in the KeyVal format.
Note:
All values of these properties are of the String data type.

This method is also functional in Web panels.
See also:
Example:
JavaScriptSelect and copy to clipboard

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

History:
Pm8.03.04: Created
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

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