Package com.scriptel.proscript.input
Class ADCChannelValues
- java.lang.Object
-
- com.scriptel.proscript.input.ADCChannelValues
-
public final class ADCChannelValues extends java.lang.Object
This class reports ADC channel values from a ScripTouch device.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getChannelNumber()
Gets the channel number.int
getSample1()
Gets the first sample.int
getSample2()
Gets the second sample.int
getSample3()
Gets the third sample.int
getSample4()
Gets the forth sample.java.lang.String
toString()
Prints this object as a human readable string.
-
-
-
Method Detail
-
toString
public java.lang.String toString()
Prints this object as a human readable string.- Overrides:
toString
in classjava.lang.Object
- Returns:
- Human readable string.
-
getChannelNumber
public int getChannelNumber()
Gets the channel number.- Returns:
- the channelNumber
-
getSample1
public int getSample1()
Gets the first sample.- Returns:
- the sample1
-
getSample2
public int getSample2()
Gets the second sample.- Returns:
- the sample2
-
getSample3
public int getSample3()
Gets the third sample.- Returns:
- the sample3
-
getSample4
public int getSample4()
Gets the forth sample.- Returns:
- the sample4
-
-