示例#1
0
 private void InitOtherControls(ref tDSCameraCapability capbility)
 {
     try
     {
         XCamera cam = XCamera.GetInstance();
         bool    isHMirror, isVMirror, isMono, isInverse;
         cam.GetHorizontalMirrorState(out isHMirror);
         cam.GetVerticalMirrorState(out isVMirror);
         cam.GetMonochromeState(out isMono);
         cam.GetInverseState(out isInverse);
         _checkHMirror.Checked = isHMirror;
         _checkVMirror.Checked = isVMirror;
         _checkMono.Checked    = isMono;
         _checkInverse.Checked = isInverse;
     }
     catch (System.Exception ex)
     {
         logger.Error(ex.Message);
     }
 }