Class Deadband.PercentDeadband
java.lang.Object
com.inductiveautomation.ignition.gateway.tags.evaluation.util.Deadband
com.inductiveautomation.ignition.gateway.tags.evaluation.util.Deadband.PercentDeadband
- All Implemented Interfaces:
Diagnosable
- Enclosing class:
- Deadband
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.gateway.tags.evaluation.util.Deadband
Deadband.AbsoluteDeadbandDouble, Deadband.AbsoluteDeadbandInt, Deadband.DeadbandResult, Deadband.NoDeadband, Deadband.PercentDeadband
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.gateway.tags.evaluation.util.Deadband
limit, NO_DEADBAND, SCALAR_NO, SCALAR_YES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
sampleDiagnostics
(DiagnosticsSample sample) Provides the sample upon which the object can set diagnostics information.protected boolean
scalarPassesDeadband
(Object previous, Object current) Evaluates whether the deadband has been exceeded.toString()
Methods inherited from class com.inductiveautomation.ignition.gateway.tags.evaluation.util.Deadband
arrayPassesDeadband, createAbsolute, createPercent, getLimit, hasChanged, hasChanged, setLimit
-
Constructor Details
-
PercentDeadband
public PercentDeadband(double limit, double rangeLow, double rangeHigh)
-
-
Method Details
-
scalarPassesDeadband
Description copied from class:Deadband
Evaluates whether the deadband has been exceeded. Called after null and quality have been checked, passed the internal values of the qualified values.- Specified by:
scalarPassesDeadband
in classDeadband
-
sampleDiagnostics
Description copied from interface:Diagnosable
Provides the sample upon which the object can set diagnostics information. It is expected that the calling object will first callgetSubSample()
in order to specify a useful identifier for this object's data.- Specified by:
sampleDiagnostics
in interfaceDiagnosable
- Overrides:
sampleDiagnostics
in classDeadband
-
toString
-