Update cookies preferences
Promotic

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 opening the window and if the user changes this value in the configurator, then the user event is triggered with oSystem.ChangeType = "value" flag.
See also:
- PmfNumber.Min (property)
- PmfNumber.Max (property)
Example1:
JavaScriptSelect and copy to clipboard

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

var nValue = oNumber.Value;   // Reading from the property
oNumber.Value = 5;   // Writing into the property

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

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