obixserver.core.alarm.condition
Class InrangeCondition

java.lang.Object
  extended by obixserver.core.alarm.condition.OneObservableCondition
      extended by obixserver.core.alarm.condition.OutofrangeCondition
          extended by obixserver.core.alarm.condition.InrangeCondition
All Implemented Interfaces:
Condition

public class InrangeCondition
extends OutofrangeCondition

Observable is between low and high value.


Field Summary
 
Fields inherited from class obixserver.core.alarm.condition.OutofrangeCondition
high, low
 
Fields inherited from class obixserver.core.alarm.condition.OneObservableCondition
observable
 
Constructor Summary
InrangeCondition(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
 

Constructor Detail

InrangeCondition

public InrangeCondition(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.

Specified by:
holds in interface Condition
Overrides:
holds in class OutofrangeCondition


Copyright © 2006-2008 Peter Michalek All Rights Reserved.