org.openmuc.core.driver
Class ChannelInformation

java.lang.Object
  extended by org.openmuc.core.driver.ChannelInformation
Direct Known Subclasses:
ExtendedChannelInformation

public class ChannelInformation
extends java.lang.Object

The class ChannelInformation provides Information about a certain channel
It's used in Drivers to return Information about the Measurement Channels. It may contain:
label, DLMS Unit Code, current Value


Constructor Summary
ChannelInformation(java.lang.String name)
          Creates an Instance of ChannelInformation
ChannelInformation(java.lang.String name, int DLMSUnitCode)
          Creates an Instance of ChannelInformation
ChannelInformation(java.lang.String name, int DLMSUnitCode, java.lang.String description)
          Creates an Instance of ChannelInformation
 
Method Summary
 java.lang.String getDescription()
          Gets the current Measurement Value
 int getDLMSUnitCode()
          Gets the DLMS Unit Code
 java.lang.String getName()
          Gets the label of this channel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelInformation

public ChannelInformation(java.lang.String name)
Creates an Instance of ChannelInformation


ChannelInformation

public ChannelInformation(java.lang.String name,
                          int DLMSUnitCode)
Creates an Instance of ChannelInformation


ChannelInformation

public ChannelInformation(java.lang.String name,
                          int DLMSUnitCode,
                          java.lang.String description)
Creates an Instance of ChannelInformation

Method Detail

getName

public java.lang.String getName()
Gets the label of this channel.


getDLMSUnitCode

public int getDLMSUnitCode()
Gets the DLMS Unit Code


getDescription

public java.lang.String getDescription()
Gets the current Measurement Value