Promotic

Preconfiguration "Analog clock"

Creates the PmgCanvas object configured as analog clock.

This preconfiguration can be activated when creating a new Pmg object and is included in the group: "/ Meter".

This object contains embedded PmgCanvas object named "Dynamic". This object controls the movement of the clock hands by using the variable named "vTime". The value of this variable is defined in the onRefresh event by the Pm.Time method.

Additional configuration variables are located at the beginning of context itself, or at the beginning of designer's method. The following items can be set:
- majTicks number of main ticks
- minTicks number of minor ticks (between the main ticks)
- bgColor1 and bgColor2 clock background color
These configurators can be set before the preconfiguration is created:
The name of created objectName (identifier) of the Pmg object. It is used for obtaining the Pmg object by the PmgObject.Items method.
This configurator sets the initial value of the Name property.
The maximum name length is 30 characters. This is a system name, so it must contain only alphanumeric and must not contain any diacritics (i.e. national dependent characters), empty string, spaces and the first character must not be a number.

History:
Pm8.02.06: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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