Promotic
WikipediaLinkedInYoutubeTwitterFacebook

mapSaveToString - method of object PmMap

Description:
The method saves the content of the object (property names and values) into a string.
Syntax:
String mapSaveToString(String sOper)
Calling:
sString = oMap.mapSaveToString(sOper);
Parameters:
sOper(String) Specifies the type of operation - this is not used so far. It is necessary to enter "".
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 oMap = Pm.CreatePmMap();
oMap.Temperature = 85;
oMap.Pressure = 1013.85;
var sRet = oMap.mapSaveToString("");
//sRet contains "Temperature:85;Pressure:1013.85;"

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

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice