예제 #1
0
 public TransportSerialByte(string portName, int baudRate, int dataBits, Parity parity, StopBits stopBits)
 {
     _baseSerial = new BaseSerial
     {
         PortName = portName,
         BaudRate = baudRate,
         DataBits = dataBits,
         Parity   = parity,
         StopBits = stopBits
     };
 }