Example #1
0
        public SerialPortView()
        {
            SuspendLayout();
            BackColor = SystemColors.ControlDark;

#if RTA
            if (SerialPortName != null)
            {
                SP = SerialPortsInRuntime.TryGetSerialPort(SerialPortName);
            }
#endif

            ResumeLayout();
        }
Example #2
0
 public void OpenSerialPort(List <CCParameter> ps)
 {
     string     name = ps[0].DisplayValue;
     SerialPort sp   = SerialPortsInRuntime.TryGetSerialPort(name);
 }