Package com.scriptel.proscript.input
Class ADCChannelValues
- java.lang.Object
-
- com.scriptel.proscript.input.ADCChannelValues
-
public final class ADCChannelValues extends java.lang.ObjectThis class reports ADC channel values from a ScripTouch device.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetChannelNumber()Gets the channel number.intgetSample1()Gets the first sample.intgetSample2()Gets the second sample.intgetSample3()Gets the third sample.intgetSample4()Gets the forth sample.java.lang.StringtoString()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:
toStringin 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
-
-