|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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()
Stringpublic 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()
intpublic String getIpAddress()
Stringpublic void setIpAddress(String ipAddress)
ipAddress - - IP address as Stringpublic int getLedIntensity()
intpublic void setLedIntensity(int ledIntensity)
ledIntensity - - LED intensity as intpublic int getSnpPollTimeout()
intpublic void setSnpPollTimeout(int snpPollTimeout)
snpPollTimeout - - SNP poll timeout as intpublic int getSnpCmdTimeout()
intpublic void setSnpCmdTimeout(int snpCmdTimeout)
snpCmdTimeout - - SNP command timeout as intpublic int getSnpNumRetries()
intpublic 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 | |||||||||