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 @@ - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -