Interface EnOceanDataChannelDescription
- All Superinterfaces:
EnOceanChannelDescription
Subinterface of
EnOceanChannelDescription
that describes physical
measuring channels.-
Field Summary
Fields inherited from interface org.osgi.service.enocean.descriptions.EnOceanChannelDescription
CHANNEL_ID, TYPE_DATA, TYPE_ENUM, TYPE_FLAG, TYPE_RAW
-
Method Summary
Modifier and TypeMethodDescriptionint
The start of the raw input range for this channel.int
The end of the raw input range for this channel.double
The scale start at which this channel will be mapped to (-20,0°C for instance)double
The scale stop at which this channel will be mapped to (+30,0°C for instance)getUnit()
The non-mandatory physical unit description of this channel.Methods inherited from interface org.osgi.service.enocean.descriptions.EnOceanChannelDescription
deserialize, getType, serialize
-
Method Details
-
getDomainStart
int getDomainStart()The start of the raw input range for this channel.- Returns:
- the domain start.
-
getDomainStop
int getDomainStop()The end of the raw input range for this channel.- Returns:
- the domain stop.
-
getRangeStart
double getRangeStart()The scale start at which this channel will be mapped to (-20,0°C for instance)- Returns:
- the range start.
-
getRangeStop
double getRangeStop()The scale stop at which this channel will be mapped to (+30,0°C for instance)- Returns:
- the range stop.
-
getUnit
String getUnit()The non-mandatory physical unit description of this channel.- Returns:
- the unit as a String
-