Promotic

Preconfiguration "Calendar"

Creates the PmgBox object with subobjects and configured as calendar.

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

This compound object allows to choose date and time. Initialization value of date and time is set in the onStart event. The "ChangeDate" method is a system method used for setting. The "SetDate" method saves selected date and time into Variables of the Pmg object named "time". An action activated by this change can also be defined here.

In the preconfiguration, it is possible to define whether the time will also be a part of the selection or whether it wil be fixed to some hour.
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.
Fixed time settingTime will always be set to specific hour.
Hour - as fixed portion of the date
See also:

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

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