|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttuwien.auto.calimero.datapoint.Datapoint
tuwien.auto.calimero.datapoint.CommandDP
public class CommandDP
Represents a command based KNX datapoint.
Interaction of command based datapoints is done solely with events (i.e. "commands"), not telling anything about a datapoint state.
Constructor Summary | |
---|---|
CommandDP(GroupAddress main,
java.lang.String name)
Creates a new command based datapoint with a name. |
|
CommandDP(GroupAddress main,
java.lang.String name,
int mainNumber,
java.lang.String dptID)
Creates a new command based datapoint with a name, and specifies datapoint translation type. |
|
CommandDP(XMLReader r)
Creates a new command based datapoint from XML input. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class tuwien.auto.calimero.datapoint.Datapoint |
---|
create, getDPT, getMainAddress, getMainNumber, getName, getPriority, isStateBased, save, setDPT, setName, setPriority |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CommandDP(GroupAddress main, java.lang.String name)
main
- the group address used to identify this datapointname
- user defined datapoint namepublic CommandDP(GroupAddress main, java.lang.String name, int mainNumber, java.lang.String dptID)
main
- the group address used to identify this datapointname
- user defined datapoint namemainNumber
- main number of the data type used for translation of a datapoint
value; if the used dptID
argument unambiguously identifies a
DPT translator, main number might be left 0dptID
- the datapoint type ID used for translation in a DPT translatorpublic CommandDP(XMLReader r) throws KNXMLException
If the current XML element position is no start tag, the next element tag is read. The datapoint element is then expected to be the current element in the reader.
r
- a XML reader
KNXMLException
- if the XML element is no datapoint or could not be read
correctlyMethod Detail |
---|
public java.lang.String toString()
toString
in class Datapoint
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |