|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.eurotech.framework.protocol.pcn.ErrStats
public class ErrStats
Defines PCN1001 error statistics.
Constructor Summary | |
---|---|
ErrStats(int snpAddress,
long replyErrors,
int diagnosticStatus)
ErrStats constructor |
Method Summary | |
---|---|
int |
getDiagnosticStatus()
Reports the last PCN1001 diagnostic status |
long |
getReplyErrors()
Reports the number of SNP reply errors |
int |
getSnpAddress()
Reports SNP address assigned to the counter. |
void |
setDiagnosticStatus(int diagnosticStatus)
Sets the last PCN1001 diagnostic status |
void |
setReplyErrors(long replyErrors)
Sets the number of SNP reply errors |
void |
setSnpAddress(int snpAddress)
Sets SNP address assigned to the counter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ErrStats(int snpAddress, long replyErrors, int diagnosticStatus)
snpAddress
- - counter's SNP address as int
replyErrors
- - counter's SNP reply errors as long
diagnosticStatus
- - counter's diagnosticStatus as int
Method Detail |
---|
public int getSnpAddress()
int
public void setSnpAddress(int snpAddress)
snpAddress
- - counter's SNP address as int
public long getReplyErrors()
long
public void setReplyErrors(long replyErrors)
replyErrors
- - the number of SNP reply errors as long
public int getDiagnosticStatus()
int
public void setDiagnosticStatus(int diagnosticStatus)
diagnosticStatus
- - the last PCN1001 diagnostic status as int
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |