Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Value - property of the PmfNumber object

Description:
Pmf object value.
Syntax:
Double Value
Note:
Property access for read and write.

This property is also functional in Web panels.

 
If the oExtra.onChange entry is set when the window is being opened and if the user changes this value in the configurator, then the user event is triggered with flag oSystem.ChangeType = "value".
See also:
- PmfNumber.Min (property)
- PmfNumber.Max (property)
Example1:
JavaScriptSelect and copy to clipboard

//Setting the propert when the object is created
//If integer:
var oNumber = oForm.CreateItem("number", "Id", "Title", "Value:5;");
//If real number:
var oNumber = oForm.CreateItem("number", "Id", "Title", "Subtype:float;Value:2.6;");

var nValue = oNumber.Value;  //Reading the value
oNumber.Value = 5;  //Writing the value

History:
Pm8.03.08: Created
PROMOTIC 9.0.13 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