Promotic

mapGetValueAt - method of the PmMap object

Description:
Returns a value of selected object property.
Syntax:
Variant mapGetValueAt(String sProp)
Parameters:
sProp(String) Property name.
Note:
This method is also functional in Web panels.

The property value can also be read directly (value = mMap.property). This method can be used for more general approach - for example the property name can be stored in another variable.
See also:
Example:
JavaScriptSelect and copy to clipboard

var mMap = Pm.CreatePmMap();
mMap.mapSetValueAt("Temperature", 85);
var val = mMap.mapGetValueAt("Temperature");
// val contains 85

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

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