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("相机关闭异常");*/ } }
public HikvisionCamera(CameraOperator m_pOperator, MyCamera.MV_CC_DEVICE_INFO _device_Info) { this.m_pOperator = m_pOperator; this.device_Info = _device_Info; }
public HikvisionCamera() { this.m_pOperator = new CameraOperator(); }
public HikvisionCamera(CameraOperator m_pOperator, int index) { this.m_pOperator = m_pOperator; this.cameraIndex = index; }