2010-01-26 1.2.0

org.eclipse.soda.dk.generic.io.simulator.device.window
Interface GenericIoSimulatorWindowListener


public interface GenericIoSimulatorWindowListener

Since:
1.0
Version:
1.2.0

Method Summary
 java.lang.String getDeviceName()
          Gets the device name (String) value.
 int getNumberOfAnalogInputChannels()
          Gets the number of analog input channels (int) value.
 int getNumberOfAnalogOutputChannels()
          Gets the number of analog output channels (int) value.
 int getNumberOfDigitalInputPins()
          Gets the number of digital input pins (int) value.
 int getNumberOfDigitalOutputPins()
          Gets the number of digital output pins (int) value.
 void notifyAnalogInputChanged(int channel, long value)
          Notify analog input changed with the specified channel and value parameters.
 void notifyDigitalInputChanged(int pin, boolean state)
          Notify digital input changed with the specified pin and state parameters.
 

Method Detail

getDeviceName

java.lang.String getDeviceName()
Gets the device name (String) value.

Returns:
The device name (String) value.

getNumberOfAnalogInputChannels

int getNumberOfAnalogInputChannels()
Gets the number of analog input channels (int) value.

Returns:
The number of analog input channels (int) value.

getNumberOfAnalogOutputChannels

int getNumberOfAnalogOutputChannels()
Gets the number of analog output channels (int) value.

Returns:
The number of analog output channels (int) value.

getNumberOfDigitalInputPins

int getNumberOfDigitalInputPins()
Gets the number of digital input pins (int) value.

Returns:
The number of digital input pins (int) value.

getNumberOfDigitalOutputPins

int getNumberOfDigitalOutputPins()
Gets the number of digital output pins (int) value.

Returns:
The number of digital output pins (int) value.

notifyAnalogInputChanged

void notifyAnalogInputChanged(int channel,
                              long value)
Notify analog input changed with the specified channel and value parameters.

Parameters:
channel - The channel (int) parameter.
value - The value (long) parameter.

notifyDigitalInputChanged

void notifyDigitalInputChanged(int pin,
                               boolean state)
Notify digital input changed with the specified pin and state parameters.

Parameters:
pin - The pin (int) parameter.
state - The state (boolean) parameter.

2010-01-26 1.2.0

Copyright (c) 2010 IBM. See license in Legal section.