obixserver.core.alarm.condition
Class ChangedByCondition

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

public class ChangedByCondition
extends OutofrangeCondition

Condition that specifies observable stays within a range given by its current value +- delta as percentage.

Author:
peter

Field Summary
private  double percentage
           
 
Fields inherited from class obixserver.core.alarm.condition.OutofrangeCondition
high, low
 
Fields inherited from class obixserver.core.alarm.condition.OneObservableCondition
observable
 
Constructor Summary
ChangedByCondition(obix.Obj observable, double percentage)
           
 
Method Summary
 double getPercentage()
           
 
Methods inherited from class obixserver.core.alarm.condition.OutofrangeCondition
holds
 
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

percentage

private double percentage
Constructor Detail

ChangedByCondition

public ChangedByCondition(obix.Obj observable,
                          double percentage)
Method Detail

getPercentage

public double getPercentage()


Copyright © 2006-2008 Peter Michalek All Rights Reserved.