From 87ca4b0a647746039cb3d5a9df38896027bbac90 Mon Sep 17 00:00:00 2001 From: xyy <544939200@qq.com> Date: Tue, 9 Jun 2026 14:54:14 +0800 Subject: [PATCH] --- ViewModels/D7896ViewModel.cs | 2 +- Views/D7896View.xaml | 406 +++++++++++++++-------------------- 瞬态热线法说明书.docx | Bin 530789 -> 603547 bytes 3 files changed, 175 insertions(+), 233 deletions(-) diff --git a/ViewModels/D7896ViewModel.cs b/ViewModels/D7896ViewModel.cs index df959d8..ff7f78d 100644 --- a/ViewModels/D7896ViewModel.cs +++ b/ViewModels/D7896ViewModel.cs @@ -1049,7 +1049,7 @@ public partial class D7896ViewModel : ObservableObject try { float rawPressure = await _plcService.ReadFloatAsync(_config.PlcRegisterAddresses.Pressure); - ChamberPressure = rawPressure / 10.0; + ChamberPressure = rawPressure; } catch { } } diff --git a/Views/D7896View.xaml b/Views/D7896View.xaml index c8cc8ab..cb23601 100644 --- a/Views/D7896View.xaml +++ b/Views/D7896View.xaml @@ -4,7 +4,9 @@ xmlns:oxy="http://oxyplot.org/wpf" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:local="clr-namespace:ASTM_D7896_Tester.Views" mc:Ignorable="d" + xmlns:converters="clr-namespace:ASTM_D7896_Tester.Converters" d:DesignHeight="768" d:DesignWidth="1024" Loaded="UserControl_Loaded"> @@ -35,7 +37,7 @@ - + @@ -62,10 +64,10 @@ - - + + - + @@ -75,7 +77,7 @@ - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -