org.lsst.ccs.drivers.modbus
Class TestModbus

java.lang.Object
  extended by org.lsst.ccs.drivers.modbus.TestModbus
All Implemented Interfaces:
org.lsst.ccs.utilities.sa.CmndProcess.Dispatch

public class TestModbus
extends Object
implements org.lsst.ccs.utilities.sa.CmndProcess.Dispatch

Program to test a Modbus device

Author:
Owen Saxton

Constructor Summary
TestModbus()
           
 
Method Summary
 boolean dispatch(int code, int found, Object[] args)
          Dispatches command for processing
static void main(String[] args)
          Main program
 void run()
          Runs the test
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestModbus

public TestModbus()
Method Detail

main

public static void main(String[] args)
Main program


run

public void run()
Runs the test

Loops reading and processing each new typed command line.


dispatch

public boolean dispatch(int code,
                        int found,
                        Object[] args)
Dispatches command for processing

Specified by:
dispatch in interface org.lsst.ccs.utilities.sa.CmndProcess.Dispatch


Copyright © 2013 LSST. All Rights Reserved.