public class BaseInstrumentProvider
extends com.labvantage.sapphire.BaseCustom
Constructor and Description |
---|
BaseInstrumentProvider() |
Modifier and Type | Method and Description |
---|---|
void |
cancelCommand(PropertyList commandProps)
override this method to allow cancel a command, especially when response is pushed from instrument.
|
java.lang.String |
executeCommand(PropertyList commandProps)
override this method to customize communicating with the instrument
for push response type, returning empty string meaning result is not ready, checkResponse will be called repeatedly until a none empty response returned.
|
java.util.HashMap |
parseResponse(java.lang.String responseStr,
PropertyList commandProps)
override this method to customize parsing instrument response string into name value pairs
|
getAccessorErrorIds, getAccessorErrorMsgs, getActionProcessor, getConfigurationProcessor, getConnectionid, getConnectionId, getConnectionProcessor, getDAMProcessor, getDepartmentList, getHttpProcessor, getQueryProcessor, getRakFile, getSDCProcessor, getSDIProcessor, getSequenceProcessor, getTranslationProcessor, setConnectionId, setLanguage, setRakFile
public java.lang.String executeCommand(PropertyList commandProps) throws java.lang.Exception
commandProps
- java.lang.Exception
public java.util.HashMap parseResponse(java.lang.String responseStr, PropertyList commandProps) throws java.lang.Exception
responseStr
- commandProps
- java.lang.Exception
public void cancelCommand(PropertyList commandProps)
commandProps
-