コード例 #1
0
        private void Camera_ExposureFailed(object sender, ExposureFailedEventArgs e)
        {
            Logger.WriteTraceMessage("CameraModelDetector.Camera_Exposurefailed: message = '" + e.Message + "'");

            exposureFailedEventArgs = e;
            boolCameraError         = true;
            oSignalEvent.Set();
        }
コード例 #2
0
ファイル: Camera.cs プロジェクト: skybadger/ASCOM.DSLR
 private void DslrCamera_ExposureFailed(object sender, ExposureFailedEventArgs e)
 {
     _cameraState = CameraStates.cameraError;
     LogError(e.Message, e.StackTrace);
     UnsubscribeCameraEvents();
 }