Package com.scriptel.proscript
Class GeneralParameters
- java.lang.Object
-
- com.scriptel.proscript.GeneralParameters
-
public final class GeneralParameters extends java.lang.ObjectThis class represents general operating parameters for a ScripTouch device.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetChannelLockNumber()Which channel is locked?intgetCornerLowerLeft()Which corner is the lower left?intgetCornerLowerRight()Which corner is the lower right?intgetCornerUpperLeft()Which corner is the upper left?intgetCornerUpperRight()Which corner is the upper right?intgetFilterFrequency()What's the filter frequency?intgetReserved()Reserved for future use.intgetSamples()How many samples?booleanisAdcOutputEnabled()Is ADC output enabled?booleanisChannelLockEnabled()Is channel lock enabled?booleanisXyOutputEnabled()Is XY output enabled?booleanmapCoordinates()Are coordinates being mapped?voidsetAdcOutputEnabled(boolean adcOutputEnabled)Sets ADC output enabled.voidsetChannelLockEnable(boolean channelLockEnable)Sets whether or not channel lock is enabled.voidsetChannelLockNumber(int channelLockNumber)Sets channel lock number.voidsetCornerLowerLeft(int cornerLowerLeft)Sets the lower left corner.voidsetCornerLowerRight(int cornerLowerRight)Sets the lower right corner.voidsetCornerUpperLeft(int cornerUpperLeft)Sets the upper left corner.voidsetCornerUpperRight(int cornerUpperRight)Sets the upper right corner.voidsetFilterFrequency(int filterFrequency)Sets the filter frequency.voidsetMapCoordinates(boolean mapCoordinates)Sets whether or not coordinates get mapped.voidsetReserved(int reserved)Sets reserved, reserved for future use.voidsetSamples(int samples)Sets the samples.voidsetXyOutputEnabled(boolean xyOutputEnabled)Set XY output enabled.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.
-
isXyOutputEnabled
public boolean isXyOutputEnabled()
Is XY output enabled?- Returns:
- the xyOutputEnabled
-
mapCoordinates
public boolean mapCoordinates()
Are coordinates being mapped?- Returns:
- the mapCoordinates
-
isChannelLockEnabled
public boolean isChannelLockEnabled()
Is channel lock enabled?- Returns:
- the channelLockEnable
-
getChannelLockNumber
public int getChannelLockNumber()
Which channel is locked?- Returns:
- the channelLockNumber
-
getReserved
public int getReserved()
Reserved for future use.- Returns:
- the reserved
-
getCornerLowerLeft
public int getCornerLowerLeft()
Which corner is the lower left?- Returns:
- the cornerLowerLeft
-
getCornerUpperLeft
public int getCornerUpperLeft()
Which corner is the upper left?- Returns:
- the cornerUpperLeft
-
getCornerLowerRight
public int getCornerLowerRight()
Which corner is the lower right?- Returns:
- the cornerLowerRight
-
getCornerUpperRight
public int getCornerUpperRight()
Which corner is the upper right?- Returns:
- the cornerUpperRight
-
getSamples
public int getSamples()
How many samples?- Returns:
- the samples
-
getFilterFrequency
public int getFilterFrequency()
What's the filter frequency?- Returns:
- the filterFrequency
-
isAdcOutputEnabled
public boolean isAdcOutputEnabled()
Is ADC output enabled?- Returns:
- the adcOutputEnabled
-
setXyOutputEnabled
public void setXyOutputEnabled(boolean xyOutputEnabled)
Set XY output enabled.- Parameters:
xyOutputEnabled- the xyOutputEnabled to set
-
setAdcOutputEnabled
public void setAdcOutputEnabled(boolean adcOutputEnabled)
Sets ADC output enabled.- Parameters:
adcOutputEnabled- the adcOutputEnabled to set
-
setMapCoordinates
public void setMapCoordinates(boolean mapCoordinates)
Sets whether or not coordinates get mapped.- Parameters:
mapCoordinates- the mapCoordinates to set
-
setChannelLockEnable
public void setChannelLockEnable(boolean channelLockEnable)
Sets whether or not channel lock is enabled.- Parameters:
channelLockEnable- the channelLockEnable to set
-
setChannelLockNumber
public void setChannelLockNumber(int channelLockNumber)
Sets channel lock number.- Parameters:
channelLockNumber- the channelLockNumber to set
-
setReserved
public void setReserved(int reserved)
Sets reserved, reserved for future use.- Parameters:
reserved- the reserved to set
-
setCornerLowerLeft
public void setCornerLowerLeft(int cornerLowerLeft)
Sets the lower left corner.- Parameters:
cornerLowerLeft- the cornerLowerLeft to set
-
setCornerUpperLeft
public void setCornerUpperLeft(int cornerUpperLeft)
Sets the upper left corner.- Parameters:
cornerUpperLeft- the cornerUpperLeft to set
-
setCornerLowerRight
public void setCornerLowerRight(int cornerLowerRight)
Sets the lower right corner.- Parameters:
cornerLowerRight- the cornerLowerRight to set
-
setCornerUpperRight
public void setCornerUpperRight(int cornerUpperRight)
Sets the upper right corner.- Parameters:
cornerUpperRight- the cornerUpperRight to set
-
setSamples
public void setSamples(int samples)
Sets the samples.- Parameters:
samples- the samples to set
-
setFilterFrequency
public void setFilterFrequency(int filterFrequency)
Sets the filter frequency.- Parameters:
filterFrequency- the filterFrequency to set
-
-