Exemplo n.º 1
0
 public ConnectionSettings(uint baudRate, WORD_LENGTH wordLength, STOP_BITS stopBits, PARITY parity,
                           FLOW_CONTROL flowControl, byte xOn = 0x00, byte xOff = 0x00)
 {
     BaudRate    = baudRate;
     WordLength  = wordLength;
     StopBits    = stopBits;
     Parity      = parity;
     FlowControl = flowControl;
     XOn         = xOn;
     XOff        = xOff;
 }
Exemplo n.º 2
0
 public ConnectionSettings(uint baudRate, WORD_LENGTH wordLength, STOP_BITS stopBits, PARITY parity,
                           FLOW_CONTROL flowControl, byte xOn = 0x00, byte xOff = 0x00)
 {
     BaudRate = baudRate;
     WordLength = wordLength;
     StopBits = stopBits;
     Parity = parity;
     FlowControl = flowControl;
     XOn = xOn;
     XOff = xOff;
 }