Promotic
Login logon

Object PmFormat

Description:
Object for conversion the value into a text string (and vice versa) according to the specified format.
The format is specified here using the formatting string, see PmFormat object formatting string.
Properties and methods:
Format()Value conversion into a text string
GetProp()Reading the value from any property of the object defined by its name
SaveToString()Saving the content of the PmFormat object into a string
SetFormat()Sets the conversion format
Scan()Text string to value conversion
Note:
- This object is functional also in Web panels.


The formatting value can be of the following types:
- Float = real number (i.e. with a decimal point)
- Int = integer
- Bool = value true or false
- String = text string
- DateTime = date and time
- TimeSpan = time span (i.e. value does not contain month and year)
- Enum = numeric value representing text (e.g. 1=Monday, 2=Tuesday, ..., 7=Sunday)

History:
Pm9.00.17: Created
PROMOTIC 9.0.34 SCADA system documentation MICROSYS, spol. s r.o.

Send page remark Contact responsible person
© MICROSYS, spol. s r.o.Update cookies preferences