com.gatespace.service.adc
Interface ADCService

All Known Implementing Classes:
ADCServiceImpl

public interface ADCService

Service representing an A/D converter box with multiple channels.

Each ADCService has a number of asssociated Channels, each representing and individual channels.

To read a channel, either


Field Summary
static java.lang.String CLASS_NAME
           
 
Method Summary
 Channel[] getChannels()
          Get all available A/D channels.
 int getType()
          Get ADC unit type.
 int getVersion()
          Get ADC unit version.
 boolean isStarted()
          Get current status of service.
 

Field Detail

CLASS_NAME

public static final java.lang.String CLASS_NAME
Method Detail

isStarted

public boolean isStarted()
Get current status of service.
Returns:
true if ADC is started, false if stopped.

getType

public int getType()
Get ADC unit type. This is '16' for the ADC16

getVersion

public int getVersion()
Get ADC unit version.

getChannels

public Channel[] getChannels()
Get all available A/D channels.