public void SystemExit() { MotionHelper.Instance.bSystemExit = true; TrackManager.Instance.TrackExit(Config.Track.ForntTrack); TrackManager.Instance.TrackExit(Config.Track.AfterTrack); Thread.Sleep(100); MotionHelper.Instance.ResetAllOuput(); Thread.Sleep(100); Axis_Advantech.CardClose(); }
private void Install_FormClosed(object sender, FormClosedEventArgs e) { MotionHelper.Instance.bSystemExit = true; Thread.Sleep(200); Axis_Advantech.CardClose(); }