Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Apps, Widgets, and Controls

UpdateToCurrentTime property

  • Last UpdatedJul 19, 2024
  • 1 minute read

The UpdateToCurrentTime property is a read-write Boolean property that gets or sets the Update to Current Time option.

If you set this property to TRUE, the Alarm Control end time is set to the current time and the start time is calculated as the difference of end time and duration. Whenever you refresh the Alarm Control, the end time is set as current time.

If you set this property to FALSE, the Alarm Control uses the end time, duration, and start time as defined by the Time Range Picker control.

The default value is TRUE.

Syntax

result = AlarmClient.UpdateToCurrentTime;

AlarmClient.UpdateToCurrentTime = UpdToCurrTime;

Example

AlarmClient1.UpdateToCurrentTime = 1;

AlarmClient1.Requery();

Remarks

For more information, see Show historical alarms and/or events.

In This Topic
TitleResults for “How to create a CRG?”Also Available in