|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdk.opi.io.opc.opcclient.OpcQuality
This class implements functinality related to items. An items represents the input/output points read/written to/from the devices monitored by the OPC server.
This class has no public constructor - use the OpcGroup.addItem() method to create instances of this class.
OpcGroup.addItem(java.lang.String, java.lang.String, boolean, int, java.lang.String)| Field Summary |
| Method Summary | |
int |
getLimitField()
The Limit Field is valid regardless of the Quality and Substatus. |
int |
getQuality()
Returns the quality of the item in question |
int |
getSubStatus()
Returns the sub status for the item in question |
boolean |
isQualityGood()
Convinience method. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public boolean isQualityGood()
getQuality() == QUALITY_GOOD
isQualityGood in interface IOQualitypublic int getQuality()
getQuality in interface IOQualityIOQuality.QUALITY_BAD,
IOQuality.QUALITY_UNCERTAIN
or IOQuality.QUALITY_GOODpublic int getSubStatus()
getSubStatus in interface IOQualitygetQuality(). For BAD values any of the values
IOQuality.BAD_NON_SPECIFIC, etc. are returned. for
UNCERTAIN values any of the values
IOQuality.UNCERTAIN_NON_SPECIFIC, etc. are returned.
For GOOD values any of the values
IOQuality.GOOD_NON_SPECIFIC, etc. are returned.public int getLimitField()
getLimitField in interface IOQualityIOQuality.LIMIT_NOT_LIMITED,
IOQuality.LIMIT_LOWLIMITED,
IOQuality.LIMIT_HIGHLIMITED or
IOQuality.LIMIT_CONSTANTpublic String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||