diff --git a/SlnMesnac.WPF/Page/IndexControl.xaml.cs b/SlnMesnac.WPF/Page/IndexControl.xaml.cs index 6e345a0..64ddfdf 100644 --- a/SlnMesnac.WPF/Page/IndexControl.xaml.cs +++ b/SlnMesnac.WPF/Page/IndexControl.xaml.cs @@ -453,6 +453,7 @@ namespace SlnMesnac.WPF.Page fixedPointWindow.WindowStartupLocation = WindowStartupLocation.CenterScreen; fixedPointWindow.Topmost = true; fixedPointWindow.ShowDialog(); + } } diff --git a/SlnMesnac.WPF/ViewModel/IndexControlViewModel.cs b/SlnMesnac.WPF/ViewModel/IndexControlViewModel.cs index a921ab7..fc544a3 100644 --- a/SlnMesnac.WPF/ViewModel/IndexControlViewModel.cs +++ b/SlnMesnac.WPF/ViewModel/IndexControlViewModel.cs @@ -74,6 +74,7 @@ namespace SlnMesnac.WPF.ViewModel autoModeBusiness.CaptureAlarmPictureEvent += CapturePicture; autoModeBusiness.GimbaRotationControlEvent += GimbaRotationControl; + fixedPointBusiness.CaptureAlarmPictureEvent += CapturePicture; fixedPointBusiness.GimbaRotationControlEvent += GimbaRotationControl; RefreshTrackMotorAddress(); @@ -246,12 +247,12 @@ namespace SlnMesnac.WPF.ViewModel if (!CHCNetSDK.NET_DVR_CaptureJPEGPicture(m_lUserID, i, ref lpJpegPara, path)) { - _log.Info("高温报警,图像信息保存失败, error code= " + NET_DVR_GetLastError()); + _log.Info("图像信息保存失败, error code= " + NET_DVR_GetLastError()); return; } else { - _log.Info("高温报警,图像信息保存成功: " + path); + _log.Info("图像信息保存成功: " + path); } } }