public static class BeckhoffRainSensor.DigitalRainConversion extends IdenticalConversion
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
KEY_UNIT, KEY_VALUEFORMAT, KEY_VALUESIGMAKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASS| Constructor and Description |
|---|
DigitalRainConversion(Map<String,String> prop) |
| Modifier and Type | Method and Description |
|---|---|
double |
getPhysical(double reading)
Returns the raw reading.
|
double |
getRaw(double physical)
Returns the physical value.
|
String |
getUnit()
Returns the unit of the physical meaningful quantity.
|
getDeviationcreateConversion, getSigmaValueFormat, getValueFormataugment, augment, augment, augment, augment, clone, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, initProperties, isNew, parseObject, parseObject, reload, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringprivate static final long serialVersionUID
public double getPhysical(double reading)
IdenticalConversiongetPhysical in interface ConvertToPhysicalgetPhysical in class IdenticalConversionreading - The raw reading value.public double getRaw(double physical)
IdenticalConversiongetRaw in interface ConvertToPhysicalgetRaw in class IdenticalConversionpublic String getUnit()
AbstractConversionConvertToPhysical.getUnit in interface ConvertToPhysicalgetUnit in class AbstractConversion