Interface AlarmEvaluator
- 
- All Superinterfaces:
- BrowsableNode,- Diagnosable,- Node
 
 public interface AlarmEvaluator extends Diagnosable, BrowsableNode The alarm evaluator is the unit that takes a value, and determines whether it is in alarm or not. It is created by theAlarmManagerbased on anAlarmConfiguration. When the entity that is feeding it values is destroyed, it should call release() so that the alarming system knows that the alarm is no longer in use.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidevaluate(QualifiedValue value)Evaluates a value against the configured conditions.AlarmStateSummarygetState()booleanisEvaluationEnabled()Indicates whether this AlarmEvaluator is enabled.voidreattach()Re-activates the alarm after release() has been called.voidrelease()Releases the alarm evaluator, deregistering the alarm configuration from the system.voidsetAlarmObserver(AlarmObserver value)Each alarm can have one observer, that will be notified about transitions.Note: The observer is cleared when release() is called, and therefore should be re-added when calling reattach();voidsetEvaluationEnabled(boolean value)Sets whether or not the alarm should evaluate.- 
Methods inherited from interface com.inductiveautomation.ignition.gateway.tags.evaluation.nodes.BrowsableNodebrowse, browse, browse, browse, getBrowseInfo, getChildNode, getPropertyNode, hasChildren
 - 
Methods inherited from interface com.inductiveautomation.ignition.common.DiagnosablesampleDiagnostics
 - 
Methods inherited from interface com.inductiveautomation.ignition.gateway.tags.evaluation.nodes.Noderead, setLeased, setSubscription, write
 
- 
 
- 
- 
- 
Method Detail- 
getStateAlarmStateSummary getState() 
 - 
evaluatevoid evaluate(QualifiedValue value) Evaluates a value against the configured conditions.
 - 
releasevoid release() Releases the alarm evaluator, deregistering the alarm configuration from the system.
 - 
reattachvoid reattach() Re-activates the alarm after release() has been called. If an alarm observer is being used, it should be re-added before calling this function.
 - 
setEvaluationEnabledvoid setEvaluationEnabled(boolean value) Sets whether or not the alarm should evaluate. This is treated separately from the alarm's enabled property. In other words, in order to evaluate, this evaluator must be enabled, and the alarm must indicate that it is enabled through the property.Note: When this is set to false, all live events will transition to "finished". 
 - 
isEvaluationEnabledboolean isEvaluationEnabled() Indicates whether this AlarmEvaluator is enabled. The alarm itself, through its Enabled property, must still not be enabled.
 - 
setAlarmObservervoid setAlarmObserver(AlarmObserver value) Each alarm can have one observer, that will be notified about transitions.Note: The observer is cleared when release() is called, and therefore should be re-added when calling reattach();
 
- 
 
-