Property
Name |
Type |
Default
Value |
Used by
IltObject
in
|
Description
|
---|---|---|---|---|
primaryAlarmState
|
ilog.tgo.model.IltAlarmStateEnum
|
Raw
|
network
|
Determines
whether the primary alarm state is carried by the raw alarms or
by the impact alarms. The secondary alarm state is represented
as a secondary icon.
Possible values are:
-
Raw
-
Impact
|
listPrimaryAlarmState
|
Boolean
|
false
|
network
|
Determines
whether the object primary alarm state is displayed in the
information window. |
listSecondaryAlarmState
|
Boolean
|
true
|
network
|
Determines
whether the object secondary alarm state is displayed in the
information window. |
listAlarmStateAbbreviated
|
Boolean
|
false
|
network
|
Determines
whether the alarm state information listed in the information
window displays alarm severities using their abbreviation or
their description. |
Unknown
severity in the
IltAlarm.Severity
enumeration.
IltAlarm.Severity infoSeverity = new IltAlarm.Severity("Informational", IltAlarm.Severity.Unknown.getSeverity()/2);
Settings { alarm: true; } Alarm { severities[0]: @+severity0; impactSeverities[0]: @+impactSeverity0; } Subobject#severity0 { class: 'ilog.tgo.model.IltAlarm.Severity'; name: "Informational"; severity: 210; } Subobject#impactSeverity0 { class: 'ilog.tgo.model.IltAlarm.ImpactSeverity'; name: "InformationalLow"; severity: 220; }
alarmBalloonCollapsed
is false.
<severity
category>.<severity name>.Color
<severity
category>.<severity name>.BrightColor
<severity
category>.<severity name>.DarkColor
<severity
category>.<severity name>.Abbreviation
<severity
category>.<severity name>.Description
<severity
category>.<severity name>.Icon
Alarm.Raw.Informational.Color
Alarm.Raw.Informational.BrightColor
Alarm.Raw.Informational.DarkColor
Alarm.Raw.Informational.Abbreviation
Alarm.Raw.Informational.Description
Alarm.Raw.Informational.Icon
(This property is optional.)
// Define the colors Color myAlarmColor = new Color(127, 255, 212); // aquamarine Color myAlarmBrightColor = myAlarmColor.brighter(); Color myAlarmDarkColor = myAlarmColor.darker(); IltSettings.SetValue("Alarm.Raw.Informational.Color", myAlarmColor); IltSettings.SetValue("Alarm.Raw.Informational.BrightColor", myAlarmBrightColor); IltSettings.SetValue("Alarm.Raw.Informational.DarkColor", myAlarmDarkColor); IltSettings.SetValue("Alarm.Raw.Informational.Abbreviation", "i"); IltSettings.SetValue("Alarm.Raw.Informational.Description", "Informational");
Alarm.Raw.Informational
" or "
Alarm.Impact.InformationalLow
" when matching the "
name
" attribute). The CSS properties to be customized are
color
,
darkColor
,
brightColor
,
abbreviation
,
description
,
icon
.
setting."ilog.tgo.model.IltAlarm.Severity"[name="Alarm.Raw.Informational"] { color: orange; darkColor: blue; brightColor: yellow; abbreviation: "i"; description: "Informational"; icon: '@|image("icon1.png")'; } setting."ilog.tgo.model.IltAlarm.ImpactSeverity"[name="Alarm.Impact.Information alLow"] { color: orange; darkColor: blue; brightColor: yellow; abbreviation: "IL"; description: "InformationalLow"; icon: '@|image("icon1.png")'; }
Raw.Critical
or
Impact.CriticalHigh
. To do so, you use the same properties as listed in How to customize alarm severities:
<severity
category>.<severity name>.Color
<severity
category>.<severity name>.BrightColor
<severity
category>.<severity name>.DarkColor
<severity
category>.<severity name>.Abbreviation
<severity
category>.<severity name>.Description
<severity
category>.<severity name>.Icon
(This property is optional.)
Impact.CriticalHigh
using the API.
// Define the colors Color myAlarmColor = Color.magenta; Color myAlarmBrightColor = myAlarmColor.brighter(); Color myAlarmDarkColor = myAlarmColor.darker(); IltSettings.SetValue("Alarm.Impact.CriticalHigh.Color", myAlarmColor); IltSettings.SetValue("Alarm.Impact.CriticalHigh.BrightColor", myAlarmBrightColor); IltSettings.SetValue("Alarm.Impact.CriticalHigh.DarkColor", myAlarmDarkColor); IltSettings.SetValue("Alarm.Impact.CriticalHigh.Abbreviation", "CH"); IltSettings.SetValue("Alarm.Impact.CriticalHigh.Description", "Critical High");
Impact.CriticalHigh
using global CSS settings (you must specify the full alarm name,
for example "
Alarm.Raw.Critical
" or "
Alarm.Impact.CriticalHigh
" when matching the "
name
" attribute. The CSS properties to be customized are
color
,
darkColor
,
brightColor
,
abbreviation
,
description
,
icon
):
setting."ilog.tgo.model.IltAlarm.Severity"[name="Alarm.Raw.Critical"] { color: orange; darkColor: blue; brightColor: yellow; abbreviation: "c"; description: "Critical"; icon: '@|image("icon1.png")'; } setting."ilog.tgo.model.IltAlarm.ImpactSeverity"[name="Alarm.Impact.CriticalHig h"] { color: orange; darkColor: blue; brightColor: yellow; abbreviation: "CH"; description: "CriticalHigh"; icon: '@|image("icon1.png")'; }
Alarm.LossOfConnectivity.Color
Alarm.LossOfConnectivity.BrighColor
Alarm.LossOfConnectivity.DarkColor
Alarm.LossOfConnectivity.Abbreviation
IltSettings.SetValue("Alarm.LossOfConnectivity.Color", Color.blue); IltSettings.SetValue("Alarm.LossOfConnectivity.Abbreviation", "??");
Alarm.LossOfConnectivity
" when matching the "
name
" attribute. The CSS properties to be customized are
color
,
darkColor
,
brightColor
,
abbreviation
):
setting."ilog.tgo.model.IltState"[name="Alarm.LossOfConnectivity"] { color: orange; darkColor: green; brightColor: yellow; abbreviation: "LOC1"; }
"NR"
instead of the current alarm count.
Alarm.NotReporting.Abbreviation
.
IltSettings.SetValue("Alarm.NotReporting.Abbreviation", "NR?");
Alarm.NotReporting
" when matching the "
name
" attribute. The CSS property to be customized is
abbreviation
):
setting."ilog.tgo.model.IltState"[name="Alarm.NotReporting"] { abbreviation: "NR1"; }