com.cesys.cebo.cebomsr
Class OutputFrame

java.lang.Object
  extended by com.cesys.cebo.cebomsr.OutputFrame

public final class OutputFrame
extends java.lang.Object

Class to use when setting multiple outputs simultaneous. Direct construction is prohibited, as the count of the the various elements varies from device type to device type. Instances must be generated calling Device.createOutputFrame().

Author:
Thomas Hoppe

Method Summary
 void setAnalogOutput(int index, float value)
          Define value that should be set on the specified analog output.
 void setDigitalPort(int index, int value)
          Define value that should be set on the specified digital port.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

setDigitalPort

public void setDigitalPort(int index,
                           int value)
Define value that should be set on the specified digital port.

Parameters:
index - Zero based index of port to specify.
value - Value to set at this port.

setAnalogOutput

public void setAnalogOutput(int index,
                            float value)
Define value that should be set on the specified analog output.

Parameters:
index - Zero based index of output to specify.
value - Value to set at this output.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object