public interface PhysicalDerivative extends ConvertToPhysical
| Modifier and Type | Method and Description |
|---|---|
NumberFormat |
getDerivativeValueFormat()
Returns the decimal format to use for the physical derivative.
|
double |
getPhysicalDerivative(double derive,
double raw)
(Sensor) Classes defining this interface should know how to convert
a numerical derivative of their raw values into a derivative with
a physically meaning.
|
double |
getRawDerivative(double derive,
double physical)
The inversion of the
getPhysicalDerivative(double, double) method. |
getDeviation, getPhysical, getRaw, getSigmaValueFormat, getUnit, getValueFormatdouble getPhysicalDerivative(double derive,
double raw)
derive - The numerical derivative from raw values.raw - The raw reading of the sensor.double getRawDerivative(double derive,
double physical)
getPhysicalDerivative(double, double) method. A call to
this method recalculates the first derivative of the raw values using
the physical meaningful value and its derivative.derive - The physical quantity of the first derivative.physical - The physical quantity.NumberFormat getDerivativeValueFormat()