org.openmuc.modbus
Class ModbusDevice

java.lang.Object
  extended by org.openmuc.modbus.ModbusDevice

public class ModbusDevice
extends java.lang.Object


Constructor Summary
ModbusDevice(DeviceURI url)
           
ModbusDevice(java.lang.String serverIP)
           
 
Method Summary
 void disconnect()
           
 java.util.Vector<Measurement> getChannels(java.util.List<ChannelIdentifier> registers)
           
 DeviceURI getUrl()
           
 void writeOutputRegister(ChannelIdentifier register, double value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModbusDevice

public ModbusDevice(DeviceURI url)
             throws java.lang.Exception
Throws:
java.lang.Exception

ModbusDevice

public ModbusDevice(java.lang.String serverIP)
             throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getUrl

public DeviceURI getUrl()

disconnect

public void disconnect()

writeOutputRegister

public void writeOutputRegister(ChannelIdentifier register,
                                double value)
                         throws MethodNotImplementedException
Throws:
MethodNotImplementedException

getChannels

public java.util.Vector<Measurement> getChannels(java.util.List<ChannelIdentifier> registers)
                                          throws java.lang.Exception
Throws:
java.lang.Exception