org.universAAL.lddi.knx.exporter
Class KnxToDeviceOntologyMappingFactory
java.lang.Object
org.universAAL.lddi.knx.exporter.KnxToDeviceOntologyMappingFactory
public class KnxToDeviceOntologyMappingFactory
- extends Object
Mapping of KNX datapoint types to uAAL Device Ontology. Not all ontology
concepts 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 |
KnxToDeviceOntologyMappingFactory
public KnxToDeviceOntologyMappingFactory()
getDeviceOntologyInstanceForKnxDpt
public static ValueDevice getDeviceOntologyInstanceForKnxDpt(int knxDptMain,
int knxDptSub,
String deviceId,
KnxToDeviceOntologyMappingFactory.DeviceOntologyType devOntType)
- Returns null if no suitable ontology concept found
- Parameters:
knxDptMain
- knxDptSub
- deviceId
- devOntType
-
- Returns:
- ValueDevice (parent concept of all device concepts)
Copyright © 2014 universAAL Consortium. All Rights Reserved.