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