public class KnxDpt5GroupDevice extends KnxGroupDevice implements IKnxDpt5
driver, groupDeviceCategory, logger, network
CLASS, DEFAULT_MAX_VALUE, DEFAULT_MIN_VALUE, MANUFACTURER, MATCH_CLASS, MATCH_MAKE, MATCH_MODEL, MATCH_SERIAL, MATCH_VERSION, MODEL, MY_DEVICE_CATEGORY, RESOLUTION_5_001, RESOLUTION_5_003, RESOLUTION_5_004, RESOLUTION_5_010, REVISION, SERIAL
Constructor and Description |
---|
KnxDpt5GroupDevice()
empty constructor for factory
|
Modifier and Type | Method and Description |
---|---|
static float |
calculatePercentage(byte[] payload,
int datapointTypeSubNumber)
calculate percentage according to datapoint sub-type.
8-bit extra data byte; e.g. 80:b3; 80:33
|
static byte[] |
createPayloadFromFloatValue(float value,
int datapointTypeSubNumber)
calculate byte from float value according to datapoint sub-type.
8-bit extra data byte; e.g. 00:b3; 00:33
|
addDriver, getDatapointType, getDatapointTypeMainNumber, getDatapointTypeSubNumber, getGroupAddress, getGroupDeviceCategory, getGroupDeviceId, newMessageFromKnxBus, noDriverFound, removeDriver, sendMessageToKnxBus, setParams
public static float calculatePercentage(byte[] payload, int datapointTypeSubNumber)
public static byte[] createPayloadFromFloatValue(float value, int datapointTypeSubNumber)
Copyright © 2015 universAAL Consortium. All Rights Reserved.