public void OpenSerialPort()
 {
     if (serialPortEx != null)
     {
         serialPortEx.OpenSerialPort();
     }
     if (formTimer != null)
     {
         formTimer.Enabled = true;
     }
 }