Configure the alarm grid columns

In the
Properties
pane, set the grid columns properties by assigning values and creating dynamic links.
For more information about dynamic links, see Create dynamic links.
MANCIA: You can use a preconfigured alarm grid instead of creating it from scratch. For more information, select
Template Libraries
and select
Widgets
Alarm Grid
.
Prerequisites:
  1. Configure
    TimestampColumn
    :
    1. Under
      DataItemTemplate
      , create a dynamic link between the
      Text
      property and
      Aliases
      {Item}
      AlarmCondition
      Time
      .
    2. Create a dynamic link between the
      Order by
      property and
      Aliases
      {Item}
      AlarmCondition
      Time
      .
    3. Set the
      Title
      property value to
      Timestamp
      .
    4. In the
      Project view
      pane, select
      AlarmsGrid
      .
    5. In the
      Properties
      pane, create a dynamic link between the
      Sort column
      property and
      ProjectName
      UI
      MainWindow (type)
      AlarmGridPanel
      AlarmsGrid
      Columns
      TimestampColumn
      @NodeId
      .
      MANCIA: You can select the
      @Attribute
      values from the
      Attribute
      drop-down menu at the bottom of the dialog.
  2. Configure
    NameColumn
    :
    1. Under
      DataItemTemplate
      , create a dynamic link between the
      Text
      property and
      Aliases
      {Item}
      AlarmCondition
      @BrowseName
      .
      MANCIA: You can select the
      @Attribute
      values from the
      Attribute
      drop-down menu at the bottom of the dialog.
    2. Create a dynamic link between the
      Order by
      property and
      Aliases
      {Item}
      AlarmCondition
      @BrowseName
      .
      MANCIA: You can select the
      @Attribute
      values from the
      Attribute
      drop-down menu at the bottom of the dialog.
    3. Set the
      Title
      property value to
      Name
      .
  3. Configure
    SourceVariableColumn
    :
    1. Under
      DataItemTemplate
      , create a dynamic link between the
      Text
      property and
      Aliases
      {Item}
      AlarmCondition
      SourceName
      .
    2. Create a dynamic link between the
      Order by
      property and
      Aliases
      {Item}
      AlarmCondition
      SourceName
      .
    3. Set the
      Title
      property value to
      Source Variable
      .
  4. Configure
    MessageColumn
    :
    1. Under
      DataItemTemplate
      , create a dynamic link between the
      Text
      property and
      Aliases
      {Item}
      AlarmCondition
      Message
      .
    2. Create a dynamic link between the
      Order by
      property and
      Aliases
      {Item}
      AlarmCondition
      Message
      .
    3. Set the
      Title
      property value to
      Message
      .
  5. Configure the
    ActiveColumn
    :
    1. Under
      DataItemTemplate
      , create a complex dynamic link between the
      Path
      property and
      Aliases
      {Item}
      AlarmCondition
      ActiveState
      Id
      with the use of a key value converter.
    2. Next to
      KeyValueConverter1
      , select
      Edit
      , and set the converter to the following values:
      Converter configuration
      Keys (Boolean)
      Values (ResourceUri)
      True
      %PROJECTDIR%\RadiobuttonDark.svg
      False
      %PROJECTDIR%\RadiobuttonDarkEmpty.svg
    3. Under
      DataItemTemplate
      , set the
      Width
      and
      Height
      properties values to
      16
      .
    4. Create a dynamic link between the
      Order by
      property and
      Aliases
      {Item}
      AlarmCondition
      ActiveState
      Id
      .
    5. Set the
      Title
      property value to
      Active
      .
  6. Configure
    AcknowledgedColumn
    :
    1. Under
      DataItemTemplate
      , create a complex dynamic link between the
      Path
      property and
      Aliases
      {Item}
      AlarmCondition
      AckedState
      Id
      with the use of a key value converter.
    2. Next to
      KeyValueConverter1
      , select
      Edit
      , and set the converter to the following values:
      Converter configuration
      Keys (Boolean)
      Values (ResourceUri)
      True
      %PROJECTDIR%\ApplyDark.png
      False
      %PROJECTDIR%\CloseDark.png
    3. Under
      DataItemTemplate
      , set the
      Width
      and
      Height
      properties values to
      16
      .
    4. Create a dynamic link between the
      Order by
      property and
      Aliases
      {Item}
      AlarmCondition
      AckedState
      Id
      .
    5. Set the
      Title
      property value to
      Acknowledged
      .
  7. Configure
    ConfirmedColumn
    :
    1. Under
      DataItemTemplate
      , create a complex dynamic link between the
      Path
      property and
      Aliases
      {Item}
      AlarmCondition
      ConfirmedState
      Id
      with the use of a key value converter
    2. Next to
      KeyValueConverter1
      , select
      Edit
      , and set the converter to the following values:
      Converter configuration
      Keys (Boolean)
      Values (ResourceUri)
      True
      %PROJECTDIR%\ApplyDark.png
      False
      %PROJECTDIR%\CloseDark.png
    3. Under
      DataItemTemplate
      , set the
      Width
      and
      Height
      properties values to
      16
      .
    4. Create a dynamic link between the
      Order by
      property and
      Aliases
      {Item}
      AlarmCondition
      ConfirmedState
      Id
      .
    5. Set the
      Title
      property value to
      Confirmed
      .
  8. Configure
    SeverityColumn
    :
    1. Under
      DataItemTemplate
      , create a dynamic link between the
      Text
      property and
      Aliases
      {Item}
      AlarmCondition
      Severity
      .
    2. Create a dynamic link between the
      Order by
      property and
      Aliases
      {Item}
      AlarmCondition
      Severity
      .
    3. Set the
      Title
      property value to
      Severity
      .
  9. For
    TimestampColumn
    ,
    NameColumn
    ,
    SourceVariableColumn
    ,
    MessageColumn
    , and
    SeverityColumn
    :
    Under
    DataItemTemplate
    , create complex dynamic links between the
    Text color
    properties and
    Aliases
    {Item}
    Severity
    with the use of
    SeverityColorConverter
    .
  10. For each column, adjust the
    width
    parameter value according to your preferences.
Fornire un feedback
Hai domande o feedback su questa documentazione? invia il tuo feedback qui.