| Constructor and Description |
|---|
RangefinderSettings() |
RangefinderSettings(Cog state) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBaudRate()
Gets the value of baudRate
|
int |
getDataBits()
Gets the value of dataBits
|
java.lang.String |
getParity()
Gets the value of parity
|
int |
getParityCode() |
java.lang.String |
getPortName()
Gets the value of portName
|
int |
getRefreshRate()
Gets the value of refreshRate
|
java.lang.String |
getStopBits()
Gets the value of stopBits
|
boolean |
isEnabled()
Gets the value of enabled
|
void |
setBaudRate(int argBaudRate)
Sets the value of baudRate
|
void |
setDataBits(int argDataBits)
Sets the value of dataBits
|
void |
setEnabled(boolean argEnabled)
Sets the value of enabled
|
void |
setParity(java.lang.String argParity)
Sets the value of parity
|
void |
setPortName(java.lang.String argPortName)
Sets the value of portName
|
void |
setRefreshRate(int argRefreshRate)
Sets the value of refreshRate
|
void |
setStopBits(java.lang.String argStopBits)
Sets the value of stopBits
|
Cog |
toCog()
Returns the complete internal state of this object in the form of a
Cog. |
java.lang.String |
toString() |
public RangefinderSettings()
public RangefinderSettings(Cog state)
public Cog toCog()
CoggableCog.public java.lang.String toString()
toString in class java.lang.Objectpublic int getParityCode()
public boolean isEnabled()
public void setEnabled(boolean argEnabled)
argEnabled - Value to assign to this.enabledpublic int getRefreshRate()
public void setRefreshRate(int argRefreshRate)
argRefreshRate - Value to assign to this.refreshRatepublic java.lang.String getPortName()
public void setPortName(java.lang.String argPortName)
argPortName - Value to assign to this.portNamepublic int getBaudRate()
public void setBaudRate(int argBaudRate)
argBaudRate - Value to assign to this.baudRatepublic int getDataBits()
public void setDataBits(int argDataBits)
argDataBits - Value to assign to this.dataBitspublic java.lang.String getStopBits()
public void setStopBits(java.lang.String argStopBits)
argStopBits - Value to assign to this.stopBitspublic java.lang.String getParity()
public void setParity(java.lang.String argParity)
argParity - Value to assign to this.parity