obixserver.core.alarm.condition
Class OutofrangeCondition

java.lang.Object
  extended by obixserver.core.alarm.condition.OneObservableCondition
      extended by obixserver.core.alarm.condition.OutofrangeCondition
All Implemented Interfaces:
Condition
Direct Known Subclasses:
ChangedByAmountCondition, ChangedByCondition, InrangeCondition

public class OutofrangeCondition
extends OneObservableCondition

Observable is not between low and high value.


Field Summary
protected  double high
           
protected  double low
           
 
Fields inherited from class obixserver.core.alarm.condition.OneObservableCondition
observable
 
Constructor Summary
protected OutofrangeCondition(obix.Obj obj)
           
  OutofrangeCondition(obix.Obj obj, double low, double high)
           
 
Method Summary
 boolean holds()
          Specifies if condition holds true.
 
Methods inherited from class obixserver.core.alarm.condition.OneObservableCondition
getObservables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

low

protected double low

high

protected double high
Constructor Detail

OutofrangeCondition

protected OutofrangeCondition(obix.Obj obj)

OutofrangeCondition

public OutofrangeCondition(obix.Obj obj,
                           double low,
                           double high)
Method Detail

holds

public boolean holds()
Description copied from interface: Condition
Specifies if condition holds true. If condition is true, it may result in alarm being triggered.



Copyright © 2006-2008 Peter Michalek All Rights Reserved.