public abstract class BaseHysenCommand extends Object implements CmdPayload
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
BaseHysenCommand() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
execute(BaseHysenDevice device) |
protected abstract byte[] |
getCmdBytes() |
byte |
getCommand() |
Payload |
getPayload() |
protected static byte |
getTempByte(double temp) |
public byte[] execute(BaseHysenDevice device) throws Exception
Exceptionpublic byte getCommand()
getCommand in interface CmdPayloadpublic Payload getPayload()
getPayload in interface CmdPayloadprotected abstract byte[] getCmdBytes()
protected static byte getTempByte(double temp)
Copyright © 2018. All rights reserved.