The Alarm Grid supports the following properties, which are available via the Properties pane and the Canvas script editor. Click next to any property name in the Properties pane to see a short description for the selected property.
See Accessing Screen Objects for more information about how to view control objects in script in the Canvas application.
You can click
(Categorize), click
(Alphabetical within Category) or click
(Search) within the properties using the features located immediately above the properties list. The search box is useful to help locate a property when an object contains many properties. For clarity, when you enter a search term, items matching your entry string remain displayed and non-matching items are temporarily hidden. Clear the search box to display the full properties list again.
You can expand and collapse each property category by clicking
or
next to the group name or simply clicking anywhere in the category heading.
The following tables describe the property names visible in the Properties pane user interface (UI) and the corresponding script property name.
|
|
|
| UI Property | Script Property | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Name Type Style | ||||||||||||
|
ControlName |
The Name property specifies the unique identifier for this control. Valid characters are A-Z, 0-9, and underscore (_). Spaces are not allowed. Names cannot start with a number. The default value is the object name and the numeric instance. The control's Name is also displayed on the Controls view of the Screen pane. |
|||||||||||
|
ControlType |
The read-only Type property displays the type for the control: Chart, Grid, Heat Map, Object Container, Tag Chooser, View, etc. … The control's Type is also displayed on the Controls view of the Screen pane. |
|||||||||||
|
|
The Style property defines the style sheet applied to an object on a screen. A style sheet consists of a predetermined list of properties and property values configured for a particular control type.
Styles are created in two ways:
Tip: You can also change a control's Style on the Controls view of the Screen pane. |
|||||||||||
| Location |
||||||||||||
|
Height |
The Height property specifies the height of the control (or screen). Tip: You can also change the height of a control using the Settings pane (click on the |
|||||||||||
|
HorizontalResizeMode |
The Horizontal resize mode property specifies whether and how the control dynamically moves or resizes horizontally when the screen is resized in run mode. Options include:
The default value is None. |
|||||||||||
|
Layer |
The Layer property specifies the layer for this control. Layers are used to show, hide, and edit multiple controls on one layer without affecting controls on another layer.
Tip: You can also edit a control's Layer on the Controls view of the Screen pane.
|
|||||||||||
|
VerticalResizeMode |
The Vertical resize mode property specifies whether and how the control dynamically moves or resizes vertically when the screen is resized in run mode. Options include:
The default value is None. |
|||||||||||
|
IsVisible |
The Visible check box indicates whether the control is visible in run mode. Tip: You can also change a control's Visible setting on the Controls view of the Screen pane. |
|||||||||||
|
Width |
The Width property specifies the width of the control (or screen). Tip: You can also change the width of a control using the Settings pane (click on the |
|||||||||||
|
X |
The X property specifies the location of the control along the horizontal axis. Use the up, down, left, and right arrow keys to nudge a control by 1 pixel. Arrow moves a control by 1 pixel. Ctrl+Arrow moves a control by 10 pixels. Ctrl+Shift+Arrow moves a control by 100 pixels. Tip: You can also change the location of the control using the Settings pane; click on the |
|||||||||||
|
Y |
The Y property specifies the location of the control along the vertical axis. Use the up, down, left, and right arrow keys to nudge a control by 1 pixel. Arrow moves a control by 1 pixel. Ctrl+Arrow moves a control by 10 pixels. Ctrl+Shift+Arrow moves a control by 100 pixels. Tip: You can also change the location of the control using the Settings pane; click on the |
|||||||||||
|
ZIndex |
The Z index property is used to determine the order in which controls are layered on top of each other. Controls with higher values will draw on top of those with lower values. The newest control added to a screen will always have the highest value and will be the top layer. Two or more controls can be on the same index (layer). Tip: You can also change the Z index of a control using the Settings pane (click on the |
|||||||||||
| Script |
||||||||||||
|
|
The Include in script check box indicates that the control will appear in the objects collection of the screen (if scripting is enabled). To optimize performance, best practice dictates that you only include the controls you need to manipulate via script. Other controls should be excluded. When you add an event to a control, it will be automatically added to script and the Include in script property (and the In Script check box on the Controls view) will be set to True. Tip: You can also change the Include in Script setting on the Controls view of the Screen pane. |
|||||||||||
| Grid |
||||||||||||
|
AlarmFilter |
The Alarm filter property is used to limit the data that is presented in the alarm grid by configuring alarm filtering rules. Click |
|||||||||||
|
IconColumn IconColumn.ColorSource IconColumn.Ranges IconColumn.ShowIcon |
The Alarm icon column property is used to indicate whether a column and icon will be displayed as the first column of the alarm grid. A customizable icon can be configured to change color based on point state and change image based on alarm priority. Icons will display only when there is an unacknowledged alarm. Click
Configure Icon Color Source, Alarm Priority Ranges, and Custom Icon
To create a customized alarm
Note: You can override the default point state colors for this element by creating a custom color palette. See Configuring Color Palettes and Color palette for a screen or object for more information. CygNet Help: For more information about alarm priority, see the Alarm Priority, Alarm Priority Category, and Alarm Category topic in the CygNet Help: For more information about point state attributes, see the Point State Definitions topic in the CygNet Help:
|
|||||||||||
|
ColorConfiguration |
The Color configuration property is a control-level property that governs all color settings for the columns in the Alarm grid. Click
|
|||||||||||
|
ColorConfiguration.BackgroundSource ColorConfiguration.BackgroundSelfColor |
The Background color property specifies the color used for the background of the grid cell. The color can be explicitly configured (using <Self>) or it can be sourced from the point state of the associated alarm.
Note: You can override the default point state colors for this element by creating a custom color palette. See Configuring Color Palettes and Color palette for a screen or object for more information. |
|||||||||||
|
ColorConfiguration.TextSource ColorConfiguration.TextSelfColor |
The Text color property specifies the color used for the text of the grid cell. The text color is sometimes known as the foreground color. The color can be explicitly configured (using <Self>) or it can be sourced from the point state of the associated alarm.
Note: You can override the default point state colors for this element by creating a custom color palette. See Configuring Color Palettes and Color palette for a screen or object for more information. |
|||||||||||
|
ColorConfiguration.BorderSource ColorConfiguration.BorderSelfColor |
The Border color property specifies the color used for the border of the grid cell. The color can be explicitly configured (using <Self>) or it can be sourced from the point state of the associated alarm.
Note: You can override the default point state colors for this element by creating a custom color palette. See Configuring Color Palettes and Color palette for a screen or object for more information. |
|||||||||||
|
ColorConfiguration.BackgroundBlink ColorConfiguration.TextBlink ColorConfiguration.BorderBlink |
The Display alarm acknowledgment property enables the cell or text tool's background, text, and border to blink when the associated point is in alarm. Check each box to configure the:
If none of these options are selected, no visual indication of a point in alarm will be presented. However, if the point is in alarm, an Acknowledge alarm option will be available from the context menu in run mode. |
|||||||||||
|
ColumnDefinitions ColumnDefinitions.Count ColumnProperties ColumnTypes |
The Grid Column Configuration dialog box contains all properties required to configure columns in your grid. There are five types of columns that can be configured in an alarm grid: an Alarm icon column (configured separately), an Alarm column, a Facility column, a Generic column, and a Point column. The number of defined columns is listed on the property label once defined. You can create your own columns or select from 11 default columns: four Alarm columns (Alarm Priority, Alarm Acknowledge, Primary Value, Timestamp), and seven Point columns (Alarm Condition, SiteService, Long Point ID, Primary Units, Description, Facility ID, Uniform Data Code). Notes:
Column OrderOnce defined, columns can be easily reordered by selecting, then dragging and dropping the item to a new location. Column Types
|
|||||||||||
|
Alarm attribute |
|
The Alarm attribute property specifies the alarm attribute that will be displayed in the column. Click
|
||||||||||
|
Value format |
The Value format property specifies the format for the point's value using any of the valid .NET standard or custom numeric format strings. The value format applies to a point's Value, Primary Value, and Alternate Value properties. The default value format is #,##0.00, which corresponds to 123,456,789.12. Formats use # and 0, with a period (.) as the decimal separator and comma (,) as the thousands separator. Add additional zeros to show more decimal places. |
|||||||||||
|
Date and time format |
The Date and time format property specifies the format for a point's timestamp using any of the valid .NET standard or custom numeric format strings. The date and time format applies to a point's Timestamp, Last Verified Change Timestamp, and Last Questionable Change Timestamp properties. Use this property to override the default format, which is configured on the Settings page of the Backstage view. The default format is YYYY/MM/DD HH:MM:SS.fff, which corresponds to 2019/01/01 10:20:30.0001. All timestamps are local client time. Note: You can also use the Microsoft .NET Standard Date and Time Format Strings to define the text representation of a date and time value in Canvas. For example, "d" is the short date pattern and corresponds to 1/1/2019, "F" is the full date/time pattern and corresponds to Monday, January 1, 2019 1:45:30 PM. |
|||||||||||
|
Column configuration: Common properties (All column types (Alarm, Facility, Generic, Point)) |
||||||||||||
|
Name |
The Name specifies the name that appears in the column header. |
|||||||||||
|
Type |
The Type property is a read-only text box that shows the column Type: Generic, Facility, Point, or History. |
|||||||||||
|
Visible |
The Visible check box indicates whether to display the column in run mode. |
|||||||||||
|
Width |
The Width property specifies the width of the column in pixels. Set the value to 0 to auto size the width. |
|||||||||||
|
Text alignment |
The Text alignment property specifies the text alignment for the column. The options are Left, Right, Center, and Justify. The default value is Left. |
|||||||||||
|
Read only (Generic columns only) |
IsReadOnly |
The Read only property indicates whether the cells in a Generic column are editable. |
||||||||||
|
Sort numerically (all columns except History) |
|
The Sort numerically property specifies whether this column can be sorted numerically. In run mode, clicking a column header moves between the three states: sort ascending, sort descending, and unsorted. A small arrow indicates the sort order. Note: Any column with mixed string and numeric data (like the Value column of the Alarm Grid) will be sorted as a string. |
||||||||||
|
Column configuration: Facility properties (Facility columns only) |
||||||||||||
|
Facility attribute |
The Facility attribute property specifies the facility attribute that will displayed in the column. Click
Click |
|||||||||||
|
Point attribute |
The Point attribute property specifies the point attribute that will be displayed in the column. Click
Click |
|||||||||||
|
Value format |
The Value format property specifies the format for the point's value using any of the valid .NET standard or custom numeric format strings. The value format applies to a point's Value, Primary Value, and Alternate Value properties. The default value format is #,##0.00, which corresponds to 123,456,789.12. Formats use # and 0, with a period (.) as the decimal separator and comma (,) as the thousands separator. Add additional zeros to show more decimal places. |
|||||||||||
|
The Date and time format property specifies the format for a point's timestamp using any of the valid .NET standard or custom numeric format strings. The date and time format applies to a point's Timestamp, Last Verified Change Timestamp, and Last Questionable Change Timestamp properties. Use this property to override the default format, which is configured on the Settings page of the Backstage view. The default format is YYYY/MM/DD HH:MM:SS.fff, which corresponds to 2019/01/01 10:20:30.0001. All timestamps are local client time. Note: You can also use the Microsoft .NET Standard Date and Time Format Strings to define the text representation of a date and time value in Canvas. For example, "d" is the short date pattern and corresponds to 1/1/2019, "F" is the full date/time pattern and corresponds to Monday, January 1, 2019 1:45:30 PM. |
||||||||||||
|
Grid properties continued... |
||||||||||||
|
|
FacilitySender FacilitySource FacilityTagListFilter GridFacilitySenderMode |
The Facility sender mode property determines which mouse-click actions will send facilities to other controls. Options include:
The default value is None. Sending and receiving facility tagsSome controls on the same screen allow for the sending of facility tag information from one control to another.
|
||||||||||
|
SelectionMode SelectionUnit SelectedRow SelectedRows |
The grid controls offer three selection modes, which determine how many grid units may be selected in run mode. The grid units are determined by the Selection unit property. Options include:
The default value is Single. In script, use SelectionMode with the SelectAll method and SelectedRows property (read-only) to aid in multi-row selection:
|
|||||||||||
| CygNet |
||||||||||||
|
SiteService SiteService.DisplayString SiteService.DomainSiteService SiteService.DomainSiteService.DomainId SiteService.DomainSiteService.Service SiteService.DomainSiteService.Site SiteService.DomainSiteService.SiteService SiteService.DomainSiteService.SiteService.Service SiteService.DomainSiteService.SiteService.Site SiteService.IsBroadcastSourced SiteService.IsSelfSourced SiteService.SiteService SiteService.Source SiteServiceSender |
The SiteService property specifies the source SiteService for the whole alarm grid. Options include:
|
|||||||||||
| Generic |
||||||||||||
|
String |
The String property specifies a generic string property that can be used when scripting this control. Type a string and reference it in your script as necessary. |
|||||||||||
|
YesNo |
The Yes/No property specifies a generic Boolean yes/no property that can be used when scripting this control. Click the check box to enable the property and reference it in your script as necessary. |
|||||||||||