public override void Close() { try { IsLink = false; if (m_pOperator != null) { //停止采集 m_pOperator.StopGrabbing(); //关闭设备 m_pOperator.Close(); m_pOperator = null; } } catch (Exception ex) { Util.WriteLog(this.GetType(), ex); Util.Notify("相机关闭异常"); } }