writes a coil state to the slave . concode_field_sep WriteSingleRegisterRequest m_WriteSingleRegisterRequest concode_elem_sep ReadInputDiscretesRequest m_ReadInputDiscretesRequest concode_elem_sep WriteMultipleCoilsRequest m_WriteMultipleCoilsRequest concode_elem_sep ReadInputRegistersRequest m_ReadInputRegistersRequest concode_elem_sep WriteCoilRequest m_WriteCoilRequest concode_elem_sep InetAddress m_SlaveAddress concode_elem_sep TCPMasterConnection m_Connection concode_elem_sep ReadMultipleRegistersRequest m_ReadMultipleRegistersRequest concode_elem_sep ModbusTCPTransaction m_Transaction concode_elem_sep WriteMultipleRegistersRequest m_WriteMultipleRegistersRequest concode_elem_sep ReadCoilsRequest m_ReadCoilsRequest concode_elem_sep boolean m_Reconnecting concode_field_sep void writeMultipleCoils concode_elem_sep void disconnect concode_elem_sep Register[] readMultipleRegisters concode_elem_sep void writeMultipleRegisters concode_elem_sep BitVector readInputDiscretes concode_elem_sep void writeSingleRegister concode_elem_sep void setReconnecting concode_elem_sep BitVector readCoils concode_elem_sep boolean isReconnecting concode_elem_sep void connect concode_elem_sep InputRegister[] readInputRegisters
boolean function ( int arg0 , int arg1 , boolean arg2 ) { m_WriteCoilRequest . setUnitID ( arg0 ) ; m_WriteCoilRequest . setReference ( arg1 ) ; m_WriteCoilRequest . setCoil ( arg2 ) ; m_Transaction . setRequest ( m_WriteCoilRequest ) ; m_Transaction . execute ( ) ; return ( ( WriteCoilResponse ) m_Transaction . getResponse ( ) ) . getCoil ( ) ; }