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.
|
static byte[] |
createPayloadFromFloatValue(float value,
int datapointTypeSubNumber)
calculate byte from float value according to datapoint sub-type.
|
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 © 2018 universAAL Consortium. All rights reserved.