org.universAAL.lddi.lib.activityhub.knxmapping
Class KnxMappingFactory
java.lang.Object
org.universAAL.lddi.lib.activityhub.knxmapping.KnxMappingFactory
public class KnxMappingFactory
- extends Object
Mapping of KNX datapoint types to ActivityHubSensors
Not all ActivityHub sensor types can be mapped certainly to one KNX DPT
e.g. environmental sensors like gas, smoke, water can have the same KNX DPT (e.g. Alarm 1.005)
this must be mapped by a human according to name and description of the KNX group address
configured in ETS
- Author:
- Thomas Fuxreiter (foex@gmx.at)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KnxMappingFactory
public KnxMappingFactory()
getAHDevCatForKnxDpt
public static ActivityHubDeviceCategoryUtil.ActivityHubDeviceCategory getAHDevCatForKnxDpt(int knxDptMain,
int knxDptSub)
- Returns null if no suitable ActivityHubDeviceCategory found
- Parameters:
knxDptMain
- knxDptSub
-
- Returns:
- ActivityHubDeviceCategory
Copyright © 2014 universAAL Consortium. All Rights Reserved.