public ModbusTCPMaster(string ip, int port) { this.EthernetAdaper = new ModbusEthernetAdapter(ip, port); }
public ModbusTCPMaster(string ip, short port, int connectTimeout) { this.EthernetAdaper = new ModbusEthernetAdapter(ip, port, connectTimeout); }
public void sModbusEthernetAdapter(ModbusEthernetAdapter iModbusEthernetAdapter) { EthernetAdaper = iModbusEthernetAdapter; }