Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

This section discusses how to configure the TAlarmView component


On this page:

Table of Contents
maxLevel3


Anchor
Configuring an alarm window
Configuring an alarm window
Configuring an Alarm Window

Double-click any Alarm Window object in the display to configure it.

Alarm Window settings

Field

Description

Control Name

Defines a name for the control so it can be accessed in the CodeBehind script. See Display Code Behind.

MaxLines

Maximum number of lines to display in the window.

List

Select the type of alarms to display in the window:

  • OnlineAlarms — Displays only active alarms. Alarms only display while the alarm is in the alarm state.
  • AlarmHistory — Displays only past alarms.
  • AuditTrail — Displays only the SystemEvents (Alarms → Groups).
  • AlarmHistory+Events — Displays past alarms and SystemEvents.

Merge Hi and HiHi Lines

Combines alarms configured as Hi and HiHi into a single row.

History Interval/To

Enter the start and end dates for the alarms. The Alarm Window object execute this query from the database.
If this field is empty, the value used will be the lowest ActiveTime_Ticks to DateTime.UTCNow.Ticks.

Show Column Titles

Select to display the column titles.

Ack by Page

Enter a tag name which acknowledges the alarms in the alarm window when triggered.

Show Header

Enter text to display above the column titles.

AllowSort

Select to allow users to sort the data by column.

Allow Column Reorder

Select to allow users to change the order of the columns.

Display value column as string

Set the format of the value column to string

Filter

Enter SQL statement to limit the alarms displayed.

Display Milliseconds

Select to include milliseconds in the alarm time.

Ack Selected Line

Configure settings for acknowledging an alarm.

Columns

For each column in the list, select the column and configure the settings to the right of the list (described below).

Visible

Select so the column is displayed in the alarm window.

Allow Filter

Select to allow users to filter the column.

Show in Column Chooser

Select to include the column in the column chooser, which allows users to select the columns that display.

Title

Enter the text for the column title.

Width

Enter the initial column width, in WPF units (device-independent pixels).

Sort

Select how to initially sort the column.



Expand
titleColumns

Alarm properties available for Columns settings

Columns

Description

AckStatus

Shows the acknowledgment status of the alarm.

ActiveTime_Ticks

Displays the active time of the alarm in ticks.

TagName

Shows the name of the tag associated with the alarm.

Group

Displays the group to which the alarm belongs.

Value

Shows the current value of the alarm.

AckRequired

Indicates if acknowledgment is required.

Condition

Shows the condition that triggered the alarm.

Area

Displays the area or location related to the alarm.

Priority

Shows the priority level of the alarm.

NormTime_Ticks

Displays normalized time in ticks.

AckTime_Ticks

Shows the acknowledgment time in ticks.

UserName

Displays the name of the user who acknowledged the alarm.

Comments

Shows any comments related to the alarm.

ColorFG

Displays the foreground color for the alarm display.

ColorBG

Shows the background color for the alarm display.

NotSync

Indicates if the alarm is not synchronized.

Level

Shows the level of the alarm.

Message

Displays the message associated with the alarm.

Duration

Shows the duration of the alarm.

Category

Displays the category of the alarm.

DateCreated_Ticks

Shows the creation date of the alarm in ticks.

AuxValue

Displays an auxiliary value associated with the alarm.

AlarmLimit

Shows the limit that triggered the alarm.

PreviousValue

Displays the previous value before the alarm was triggered.

UserFullName

Shows the full name of the user who acknowledged the alarm.

AuxValue2

Displays a second auxiliary value.

AuxValue3

Shows a third auxiliary value.




TAlarmWindow Touch-Sensitive Control

To make the TAlarmWindow work with a touch-sensitive screen, you can open "Edit > Scripts > Tasks" and double-click on "ClientStartup". In this CodeBehind, you can type the following code in CSharp:

Task > ClientStartup code: 

Code Block
@Client.DisableMultiTouch = true

Save the script and run the project, your touch-sensitive screen will be working.



In this section...

Page Tree
root@parent
spacesV10