Update cookies preferences

mapLoadFromString - method of the PmMap object

The method creates new properties and their values in the object.
If the property already exists in the object, then only its value is changed.
Empty mapLoadFromString(String sOper, String sString)
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.
All values of these properties are of the String data type.

This method is also functional in Web panels.
See also:
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

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

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