V2/Cet/IO/Cet.IO.Serial/SerialPortEx.cs
/// <summary>
/// Offer an easier way to set the serial port parameters
/// </summary>
/// <param name="prm"></param>
Offer an easier way to set the serial port parameters
Offer an easier way to set the serial port parameters
public void SetParams(SerialPortParams prm)
        {
            this.BaudRate = prm.BaudRate;
            this.Parity = prm.Parity;
            this.DataBits = prm.DataBits;
            this.StopBits = prm.StopBits;
        }
public void SetParams ( SerialPortParams prm ) { this . BaudRate = prm . BaudRate ; this . Parity = prm . Parity ; this . DataBits = prm . DataBits ; this . StopBits = prm . StopBits ; }
Offer an easier way to set the serial port parameters
Offer an easier way to set the serial port parameters
prm
SerialPortParams
None