public SerialConnection(string portName, int baudrate) { this.portName = portName; this.baudRate = baudrate; }