org.universAAL.lddi.lib.activityhub.knxmapping
Class KnxMappingFactory

Package class diagram package KnxMappingFactory
java.lang.Object
  extended by 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)

Constructor Summary
KnxMappingFactory()
           
 
Method Summary
static ActivityHubDeviceCategoryUtil.ActivityHubDeviceCategory getAHDevCatForKnxDpt(int knxDptMain, int knxDptSub)
          Returns null if no suitable ActivityHubDeviceCategory found
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KnxMappingFactory

public KnxMappingFactory()
Method Detail

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.