|
| MBTCPTestServer (const std::unordered_set< uniset::ModbusRTU::ModbusAddr > &vaddr, const std::string &inetaddr, int port=502, bool verbose=false) |
|
void | setVerbose (bool state) |
|
void | setReply (uint32_t val) |
|
void | execute () |
|
void | setLog (std::shared_ptr< DebugStream > dlog) |
|
bool | isRunning () |
|
void | disableExchange (bool set=true) |
|
bool | getForceSingleCoilCmd () |
|
int16_t | getLastWriteRegister (uint16_t reg) |
|
float | getLastWriteRegisterF2 (uint16_t reg) |
|
uint16_t | getLastWriteRegisterByte (uint16_t reg) |
|
float | getLastWriteRegisterF2r (uint16_t reg) |
|
double | getLastWriteRegisterF4 (uint16_t reg) |
|
int32_t | getLastWriteRegisterI2 (uint16_t reg) |
|
int32_t | getLastWriteRegisterI2r (uint16_t reg) |
|
uint32_t | getLastWriteRegisterU2 (uint16_t reg) |
|
uint32_t | getLastWriteRegisterU2r (uint16_t reg) |
|
long | getWriteRegisterCount (uint16_t reg) |
|
uniset::ModbusRTU::ForceCoilsMessage | getLastForceCoilsQ () |
|
uniset::ModbusRTU::WriteOutputMessage | getLastWriteOutput () |
|
float | getF2TestValue () |
|
|
void | sigterm (int signo) |
|
uniset::ModbusRTU::mbErrCode | readCoilStatus (uniset::ModbusRTU::ReadCoilMessage &query, uniset::ModbusRTU::ReadCoilRetMessage &reply) |
|
uniset::ModbusRTU::mbErrCode | readInputStatus (uniset::ModbusRTU::ReadInputStatusMessage &query, uniset::ModbusRTU::ReadInputStatusRetMessage &reply) |
|
uniset::ModbusRTU::mbErrCode | readOutputRegisters (uniset::ModbusRTU::ReadOutputMessage &query, uniset::ModbusRTU::ReadOutputRetMessage &reply) |
|
uniset::ModbusRTU::mbErrCode | readInputRegisters (uniset::ModbusRTU::ReadInputMessage &query, uniset::ModbusRTU::ReadInputRetMessage &reply) |
|
uniset::ModbusRTU::mbErrCode | forceSingleCoil (uniset::ModbusRTU::ForceSingleCoilMessage &query, uniset::ModbusRTU::ForceSingleCoilRetMessage &reply) |
|
uniset::ModbusRTU::mbErrCode | forceMultipleCoils (uniset::ModbusRTU::ForceCoilsMessage &query, uniset::ModbusRTU::ForceCoilsRetMessage &reply) |
|
uniset::ModbusRTU::mbErrCode | writeOutputRegisters (uniset::ModbusRTU::WriteOutputMessage &query, uniset::ModbusRTU::WriteOutputRetMessage &reply) |
|
uniset::ModbusRTU::mbErrCode | writeOutputSingleRegister (uniset::ModbusRTU::WriteSingleOutputMessage &query, uniset::ModbusRTU::WriteSingleOutputRetMessage &reply) |
|
uniset::ModbusRTU::mbErrCode | diagnostics (uniset::ModbusRTU::DiagnosticMessage &query, uniset::ModbusRTU::DiagnosticRetMessage &reply) |
|
uniset::ModbusRTU::mbErrCode | read4314 (uniset::ModbusRTU::MEIMessageRDI &query, uniset::ModbusRTU::MEIMessageRetRDI &reply) |
|
uniset::ModbusRTU::mbErrCode | journalCommand (uniset::ModbusRTU::JournalCommandMessage &query, uniset::ModbusRTU::JournalCommandRetMessage &reply) |
|
uniset::ModbusRTU::mbErrCode | setDateTime (uniset::ModbusRTU::SetDateTimeMessage &query, uniset::ModbusRTU::SetDateTimeRetMessage &reply) |
|
uniset::ModbusRTU::mbErrCode | remoteService (uniset::ModbusRTU::RemoteServiceMessage &query, uniset::ModbusRTU::RemoteServiceRetMessage &reply) |
|
uniset::ModbusRTU::mbErrCode | fileTransfer (uniset::ModbusRTU::FileTransferMessage &query, uniset::ModbusRTU::FileTransferRetMessage &reply) |
|
Реализация MBTCPTestServer для тестирования