public static class IltTrap.State extends IltAlarmSystem.State implements Cloneable
_alarmValues, _notifier
Constructor and Description |
---|
State()
This constructor initializes an instance by setting all numbers to zero.
|
State(ilog.tgo.model.internal.IltAggregateStateValue value)
Creates an alarm state based in the state value.
|
State(int newLinkFailCount,
int newAuthFailCount,
int newEGPNLossCount,
int newWarmStartCount,
int newColdStartCount,
int acknowledgedLinkFailCount,
int acknowledgedAuthFailCount,
int acknowledgedEGPNLossCount,
int acknowledgedWarmStartCount,
int acknowledgedColdStartCount)
This constructor initializes an instance by setting the number of new
traps and acknowledged traps for each type.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a copy of this object.
|
boolean |
equals(Object obj)
Compares this object with another object.
|
IltAlarmSystem |
getAlarmSystem()
System whose values are being handled by this state.
|
IltAlarmSeverity |
getHighestAcknowledgedAlarmSeverity()
Returns the highest severity for which the number of acknowledged
alarms is nonzero.
|
IltAlarmSeverity |
getHighestAcknowledgedAlarmSeverity(IltAlarmSeverity below)
Returns the highest severity less than
below for which the
number of acknowledged alarms is nonzero. |
IltAlarmSeverity |
getHighestAlarmSeverity()
Returns the highest severity for which the number of alarms, acknowledged
or otherwise, is nonzero.
|
IltAlarmSeverity |
getHighestAlarmSeverity(IltAlarmSeverity below)
Returns the highest severity less than
below for which the
number of alarms, acknowledged or otherwise, is nonzero. |
IltAlarmSeverity |
getHighestNewAlarmSeverity()
Returns the highest severity for which the number of new alarms is
nonzero.
|
IltAlarmSeverity |
getHighestNewAlarmSeverity(IltAlarmSeverity below)
Returns the highest severity less than
below for which the
number of new alarms is nonzero. |
protected void |
initializeType(IltTrap.Type t,
int newCount,
int ackCount)
Initializes the aggregate state value instance with the given counter for
the given trap type.
|
acknowledgeAlarm, acknowledgeAllAlarms, acknowledgeAllAlarms, acknowledgeAllAlarms, addAcknowledgedAlarm, addNewAlarm, getAcknowledgedAlarmCount, getAcknowledgedAlarmCount, getAlarmCount, getAlarmCount, getCount, getNewAlarmCount, getNewAlarmCount, getNotifier, getValue, hasNotifier, internalGetHighestAcknowledgedAlarmSeverity, internalGetHighestAcknowledgedAlarmSeverity, internalGetHighestAcknowledgedAlarmSeverity, internalGetHighestAcknowledgedAlarmSeverity, internalGetHighestAlarmSeverity, internalGetHighestAlarmSeverity, internalGetHighestAlarmSeverity, internalGetHighestAlarmSeverity, internalGetHighestNewAlarmSeverity, internalGetHighestNewAlarmSeverity, internalGetHighestNewAlarmSeverity, internalGetHighestNewAlarmSeverity, removeAcknowledgedAlarm, removeAllAcknowledgedAlarms, removeAllAcknowledgedAlarms, removeAllAcknowledgedAlarms, removeAllAlarms, removeAllAlarms, removeAllNewAlarms, removeAllNewAlarms, removeAllNewAlarms, removeNewAlarm, reset, setAcknowledgedAlarmCount, setNewAlarmCount, setNotifier
copy, CreateNameFilter, CreateStateFilter, createValue, getAliases, getAllPaths, getAltName, getDefault, getDescription, getName, getProperty, getStateInfo, getToolTipText, getToolTipText, hasDefault, hasDescription, hashCode, intern, isInside, IsPropertyTransient, isValid, list, removeProperty, setAltName, setDescription, setMessage, setName, setProperty, SetPropertyTransient, toString
public State()
public State(int newLinkFailCount, int newAuthFailCount, int newEGPNLossCount, int newWarmStartCount, int newColdStartCount, int acknowledgedLinkFailCount, int acknowledgedAuthFailCount, int acknowledgedEGPNLossCount, int acknowledgedWarmStartCount, int acknowledgedColdStartCount)
public State(ilog.tgo.model.internal.IltAggregateStateValue value)
public IltAlarmSystem getAlarmSystem()
getAlarmSystem
in class IltAlarmSystem.State
protected void initializeType(IltTrap.Type t, int newCount, int ackCount)
public Object clone()
clone
in class IltAlarmSystem.State
public boolean equals(Object obj)
IltTrap.State
instances are considered equal if their
corresponding values are equal.equals
in class IltAlarmSystem.State
public IltAlarmSeverity getHighestNewAlarmSeverity()
public IltAlarmSeverity getHighestNewAlarmSeverity(IltAlarmSeverity below)
below
for which the
number of new alarms is nonzero.public IltAlarmSeverity getHighestAcknowledgedAlarmSeverity()
public IltAlarmSeverity getHighestAcknowledgedAlarmSeverity(IltAlarmSeverity below)
below
for which the
number of acknowledged alarms is nonzero.public IltAlarmSeverity getHighestAlarmSeverity()
public IltAlarmSeverity getHighestAlarmSeverity(IltAlarmSeverity below)
below
for which the
number of alarms, acknowledged or otherwise, is nonzero.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.