From 3cc1bba50f9bae7ad8931f4cc61ea92daa568759 Mon Sep 17 00:00:00 2001 From: wenjy Date: Mon, 2 Dec 2024 15:38:41 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E5=BF=AB=E9=80=9F=E5=B7=A1?= =?UTF-8?q?=E6=A3=80=E4=BF=9D=E5=AD=98=E6=95=B0=E6=8D=AE=E5=9B=BE=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SlnMesnac.WPF/ViewModel/IndexControlViewModel.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/SlnMesnac.WPF/ViewModel/IndexControlViewModel.cs b/SlnMesnac.WPF/ViewModel/IndexControlViewModel.cs index 1557a04..44cba57 100644 --- a/SlnMesnac.WPF/ViewModel/IndexControlViewModel.cs +++ b/SlnMesnac.WPF/ViewModel/IndexControlViewModel.cs @@ -74,9 +74,13 @@ namespace SlnMesnac.WPF.ViewModel autoModeBusiness.CaptureAlarmPictureEvent += CapturePicture; autoModeBusiness.GimbaRotationControlEvent += GimbaRotationControl; + fixedPointBusiness.CaptureAlarmPictureEvent += CapturePicture; fixedPointBusiness.GimbaRotationControlEvent += GimbaRotationControl; + inspModeBusiness.CaptureAlarmPictureEvent += CapturePicture; + inspModeBusiness.GimbaRotationControlEvent += GimbaRotationControl; + RefreshTrackMotorAddress(); }catch (Exception ex) { @@ -213,6 +217,11 @@ namespace SlnMesnac.WPF.ViewModel fixedPointBusiness._realTemperatureInfo.fAverageTemperature = autoModeBusiness._realTemperatureInfo.fAverageTemperature; fixedPointBusiness._realTemperatureInfo.fTemperatureDiff = autoModeBusiness._realTemperatureInfo.fTemperatureDiff; + inspModeBusiness._realTemperatureInfo.fMaxTemperature = autoModeBusiness._realTemperatureInfo.fMaxTemperature; + inspModeBusiness._realTemperatureInfo.fMinTemperature = autoModeBusiness._realTemperatureInfo.fMinTemperature; + inspModeBusiness._realTemperatureInfo.fAverageTemperature = autoModeBusiness._realTemperatureInfo.fAverageTemperature; + inspModeBusiness._realTemperatureInfo.fTemperatureDiff = autoModeBusiness._realTemperatureInfo.fTemperatureDiff; + } this.RealTemperature = new RealTemperatureInfo()