org.openmuc.sunnywebtool.internal
Class ExtendedChannelInformation

java.lang.Object
  extended by org.openmuc.core.driver.ChannelInformation
      extended by org.openmuc.sunnywebtool.internal.ExtendedChannelInformation

public class ExtendedChannelInformation
extends ChannelInformation


Constructor Summary
ExtendedChannelInformation(java.lang.String name, int DLMSUnitCode)
           
ExtendedChannelInformation(java.lang.String name, int DLMSUnitCode, java.lang.String description)
           
 
Method Summary
 double getCurValue()
           
 java.lang.String getDescription()
          Gets the current Measurement Value
 int getUnitCode()
           
 java.lang.String getUnitString()
           
 void setCurValue(double curValue)
           
 
Methods inherited from class org.openmuc.core.driver.ChannelInformation
getDLMSUnitCode, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedChannelInformation

public ExtendedChannelInformation(java.lang.String name,
                                  int DLMSUnitCode,
                                  java.lang.String description)

ExtendedChannelInformation

public ExtendedChannelInformation(java.lang.String name,
                                  int DLMSUnitCode)
Method Detail

getUnitString

public java.lang.String getUnitString()

getUnitCode

public int getUnitCode()

getCurValue

public double getCurValue()

setCurValue

public void setCurValue(double curValue)

getDescription

public java.lang.String getDescription()
Description copied from class: ChannelInformation
Gets the current Measurement Value

Overrides:
getDescription in class ChannelInformation