private void conncamera()
 {
     try
     {
         Camera.InitExpourseTime = Settings.Default.InitExpourseTime;
         int number = Camera.GetCameraCount;
         if (Camera.m_hCamera >= 0)
         {
             Camera.ConnectCamera(0);
         }
     }
     catch (Exception e)
     {
         Loghelper.WriteLog("连接相机失败", e);
     }
 }