de.wagner_ibw.examples
Class RFSwitch

java.lang.Object
  |
  +--de.wagner_ibw.examples.RFSwitch
All Implemented Interfaces:
java.lang.Runnable

public class RFSwitch
extends java.lang.Object
implements java.lang.Runnable


Field Summary
private  Iow24 dev24
           
private  IowFactory devs
           
private  int SwitchA
           
private  int SwitchB
           
private  int SwitchC
           
private  int SwitchOff
           
private  int SwitchOn
           
 
Constructor Summary
RFSwitch()
          Constructor for stand-alone operation.
RFSwitch(IowFactory devs)
          Constructor for use as part of an application (independent thread).
 
Method Summary
private  void doit()
          Do all that work.
static void main(java.lang.String[] args)
          Stand-alone start.
private  void pulse()
           
 void run()
          Thread start.
 void switchAoff()
           
 void switchAon()
           
 void switchBoff()
           
 void switchBon()
           
 void switchCoff()
           
 void switchCon()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SwitchA

private int SwitchA

SwitchB

private int SwitchB

SwitchC

private int SwitchC

SwitchOn

private int SwitchOn

SwitchOff

private int SwitchOff

devs

private IowFactory devs

dev24

private Iow24 dev24
Constructor Detail

RFSwitch

public RFSwitch()
Constructor for stand-alone operation.


RFSwitch

public RFSwitch(IowFactory devs)
Constructor for use as part of an application (independent thread).

Parameters:
devs - The initialized Iow base class.
Method Detail

main

public static void main(java.lang.String[] args)
Stand-alone start.

Parameters:
args - Not used here.

run

public void run()
Thread start.

Specified by:
run in interface java.lang.Runnable

switchAon

public void switchAon()

switchAoff

public void switchAoff()

switchBon

public void switchBon()

switchBoff

public void switchBoff()

switchCon

public void switchCon()

switchCoff

public void switchCoff()

pulse

private void pulse()

doit

private void doit()
Do all that work.