org.mbari.siam.foce.utils
Class FOCERemoteRelayUtil
java.lang.Object
org.mbari.siam.foce.utils.FOCERemoteRelayUtil
public class FOCERemoteRelayUtil
- extends java.lang.Object
User utility to turn on/off a relay on a FOCERelayBoard
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FOCERemoteRelayUtil
public FOCERemoteRelayUtil(java.lang.String hostName)
throws java.io.IOException,
java.net.UnknownHostException
- Throws:
java.io.IOException
java.net.UnknownHostException
relayOn
public void relayOn(int board,
int relay)
throws java.io.IOException
- Throws:
java.io.IOException
relayOff
public void relayOff(int board,
int relay)
throws java.io.IOException
- Throws:
java.io.IOException
printOne
public void printOne(int board,
int relay,
FOCERelayProperties props,
boolean state)
throws java.io.IOException
- Throws:
java.io.IOException
printOne
public void printOne(int board,
int relay,
FOCERelayProperties props)
throws java.io.IOException
- Throws:
java.io.IOException
printAll
public void printAll(FOCERelayProperties props)
usage
public static void usage()
main
public static void main(java.lang.String[] args)
- Main method is for command-line testing
Copyright © 2003 MBARI.
The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.