The Time Range Latch component allows a user to invoke the Latch Start and Latch End actions, or wire sheet logic can be linked to those action slots. When the Latch Start action is invoked the Time Range property is initialized with the start time as the current station time and the end time as null. When the Latch End action is invoked the Time Range Property is updated with the end time as the current station time, then after the configured Trigger Delay time has elapsed the Trigger topic is fired.
The intent of the component is to use wire sheet logic to latch the start time for a process and the process logic is linked to latch the end time once the process completes. The Time Range property may be linked to other components in the station perhaps used to configure the time range of an export source report, series transform date range, etc. and the Topic may be linked to an action slot to generate a report after the Trigger Delay has expired.
Time Range The time range start and end times are latched by invoking the two actions.
Trigger Delay Configures the delay after latching the end time before firing the topic.
Last Trigger The time the topic slot was last fired.
Latch Start Invoking this action initializes the Time Range property with the start time as the current station time and the end time as null.
Latch End Invoking this action updates the Time Range property with the end time as the current station time, then sets a timer using the Trigger Delay value. When the timer expires the Trigger topic is fired.
Trigger Topic which is fired after the Latch End action is invoked and the Trigger Delay time has elapsed.