public class DeviceHT730 extends BaseDevice implements IProtocolEventListener
_protocol, INFO, TAG| Constructor and Description |
|---|
DeviceHT730(BaseTransport baseTransport,
IDeviceEventListener listener) |
| Modifier and Type | Method and Description |
|---|---|
int |
getModuleInfo(DeviceOptionType type)
Get the specific module's model number in the device
|
java.lang.String |
getVersion() |
void |
initModuleInfo()
Initialize module info for get device's supported module
|
void |
onEvent(int cmd,
int sub,
java.lang.Object data) |
getProtocol, getTransport, start, stoppublic DeviceHT730(BaseTransport baseTransport, IDeviceEventListener listener)
public java.lang.String getVersion()
getVersion in class BaseDevicepublic void onEvent(int cmd,
int sub,
java.lang.Object data)
onEvent in interface IProtocolEventListenerpublic void initModuleInfo()
throws ReaderException
ReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.public int getModuleInfo(DeviceOptionType type) throws ReaderException
type - The module typeReaderException - An ReaderException exception is thrown if a failure occurs while
setting data on the instrument or returning data.