Ejemplo n.º 1
0
 public IModbusSerialMaster CreateMaster(IModbusSerialTransport transport)
 {
     return(new ModbusSerialMaster(transport));
 }
Ejemplo n.º 2
0
 public ModbusSerialSlaveNetwork(IModbusSerialTransport transport, IModbusFactory modbusFactory)
     : base(transport, modbusFactory)
 {
     _serialTransport = transport ?? throw new ArgumentNullException(nameof(transport));
     _modbusFactory   = modbusFactory;
 }
 internal ModbusSerialMaster(IModbusSerialTransport transport)
     : base(transport)
 {
 }
Ejemplo n.º 4
0
 public ModbusSerialSlaveNetwork(IModbusSerialTransport transport, IModbusLogger logger)
     : base(transport, logger)
 {
     _serialTransport = transport ?? throw new ArgumentNullException(nameof(transport));
 }