Promotic

Dt - property of the PmaNumber object

Description:
The data type of the object value
Syntax:
Long Dt
Note:
Property access for read and write. The default value of this property is defined in the "Data type" configurator of this object.
 
The property returns the data type as a number. For the list of data types and numbers assigned to them see the Data types VBScript.
The value of this property can be also obtained in the "PmaRoot" item of the INFO system (when looking into the object with this property).
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oNumber = pMe.Pm("/Number0");
var nDt = oNumber.Dt;   // Reading from the property
oNumber.Dt = 3;   // 3=Long Writing into the property
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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