public override void ContinuousShotStop() { try { // Set an enum parameter. if (m_hCam == IntPtr.Zero) { return; } MVGigE.MVStopGrab(m_hCam); IsContinuousShot = false; IsExtTrigger = false; Task.Run(() => { ignoreImage = true; System.Threading.Thread.Sleep(1000); ignoreImage = false; }); } catch (Exception ex) { Util.WriteLog(this.GetType(), ex); Util.Notify("相机连续采集停止异常"); } }