private void WarmUpWait() { try { myUart.Pack_Debug_out(null, "[DeviceInit] warmup progress start"); FormWarmUpProgress form = new FormWarmUpProgress(this); form.StartPosition = FormStartPosition.CenterScreen; DialogResult result = form.ShowDialog(); myUart.Pack_Debug_out(null, "[DeviceInit] warmup progress finish"); myApi.GetDeviceZeroPoint(); timerUartRecv.Interval = 1000 * 5; timerUartRecv.Enabled = true; } catch (Exception ex) { myUart.Pack_Debug_out(null, "Exception" + "[" + ex.ToString() + "]"); } }