public final class WriteSingleCoilResponse extends WriteSingleRegisterResponse
| Constructor and Description |
|---|
WriteSingleCoilResponse() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkValue() |
boolean |
getCoil() |
int |
getFunction() |
void |
setCoil(boolean coil) |
getValue, readValue, setValue, writeValuegetStartAddress, readResponse, responseSize, setStartAddress, writeResponsegetModbusExceptionCode, isException, pduSize, readPDU, setException, setModbusExceptionCode, writePDUgetProtocolId, getServerAddress, getTransactionId, read, setProtocolId, setServerAddress, setTransactionId, size, writepublic boolean getCoil()
public void setCoil(boolean coil)
throws ModbusNumberException
ModbusNumberExceptionprotected boolean checkValue()
checkValue in class WriteSingleRegisterResponsepublic int getFunction()
getFunction in class WriteSingleRegisterResponseCopyright © 2018. All rights reserved.