|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.eurotech.framework.protocol.pcn.Pcn1001Config
public class Pcn1001Config
Defines PCN-1001 specific configuration
Constructor Summary | |
---|---|
Pcn1001Config(int snpAddress)
Pcn1001Config constructor |
Method Summary | |
---|---|
String |
getIpAddress()
Reports IP address. |
int |
getLedIntensity()
Reports LED intensity. |
String |
getSerialPortName()
Reports serial port name. |
int |
getSnpAddress()
Reports SNP address of the device. |
int |
getSnpCmdTimeout()
Reports SNP command timeout in milliseconds. |
int |
getSnpNumRetries()
Reports SNP number of retries after timeout |
int |
getSnpPollTimeout()
Reports SNP poll timeout in milliseconds. |
void |
setIpAddress(String ipAddress)
Sets IP address. |
void |
setLedIntensity(int ledIntensity)
Sets LED intensity. |
void |
setSerialPortName(String serialPortName)
Set the serial port name. |
void |
setSnpCmdTimeout(int snpCmdTimeout)
Sets SNP command timeout in milliseconds. |
void |
setSnpNumRetries(int snpNumRetries)
Set SNP number of retries after timeout |
void |
setSnpPollTimeout(int snpPollTimeout)
Sets SNP poll timeout in milliseconds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Pcn1001Config(int snpAddress)
snpAddress
- - device SNP address as int
Method Detail |
---|
public String getSerialPortName()
String
public void setSerialPortName(String serialPortName)
serialPortName
- - serial port name as String
.
The name is OS dependent (e.g. "COM1" under Windows, "/dev/ttyS0" under Linux).public int getSnpAddress()
int
public String getIpAddress()
String
public void setIpAddress(String ipAddress)
ipAddress
- - IP address as String
public int getLedIntensity()
int
public void setLedIntensity(int ledIntensity)
ledIntensity
- - LED intensity as int
public int getSnpPollTimeout()
int
public void setSnpPollTimeout(int snpPollTimeout)
snpPollTimeout
- - SNP poll timeout as int
public int getSnpCmdTimeout()
int
public void setSnpCmdTimeout(int snpCmdTimeout)
snpCmdTimeout
- - SNP command timeout as int
public int getSnpNumRetries()
int
public void setSnpNumRetries(int snpNumRetries)
snpNumRetries
- - SNP number of retries as int
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |