private void SaveSerialConf() { serialSave.SetValue(portKey, port); serialSave.SetValue(baudRateKey, baudRate); serialSave.SetValue(parityKey, (int)Parity.None); serialSave.SetValue(dataBitsKey, "8"); serialSave.SetValue(stopBitsKey, (int)StopBits.One); }