From fb821017066e0a21b298acfb838090c5ece2ad0d Mon Sep 17 00:00:00 2001 From: xyy <544939200@qq.com> Date: Wed, 11 Mar 2026 19:11:06 +0800 Subject: [PATCH] =?UTF-8?q?=20=20=E6=9A=82=E6=97=B6=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=EF=BC=8C=E7=AD=89=E5=AE=A2=E6=88=B7=E9=82=A3=E8=BE=B9=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrictionDataPoint.cs | 13 ++ HomePage.xaml | 161 ++++++++++---------- HomePage.xaml.cs | 15 ++ MainWindow.xaml.cs | 166 +++++++++++++++----- ReportPage.xaml.cs | 354 ++++++++++++++----------------------------- 5 files changed, 351 insertions(+), 358 deletions(-) create mode 100644 FrictionDataPoint.cs diff --git a/FrictionDataPoint.cs b/FrictionDataPoint.cs new file mode 100644 index 0000000..cb0130b --- /dev/null +++ b/FrictionDataPoint.cs @@ -0,0 +1,13 @@ +// FrictionDataPoint.cs +using System; + +namespace PLCDataMonitor +{ + public class FrictionDataPoint + { + public DateTime Timestamp { get; set; } + public double Friction1 { get; set; } + public double Friction2 { get; set; } + public bool IsPaused { get; set; } + } +} \ No newline at end of file diff --git a/HomePage.xaml b/HomePage.xaml index 423b39d..403a71c 100644 --- a/HomePage.xaml +++ b/HomePage.xaml @@ -5,36 +5,34 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:PLCDataMonitor" mc:Ignorable="d" - d:DesignHeight="480" d:DesignWidth="960" + d:DesignHeight="700" d:DesignWidth="1000" FontFamily="Microsoft YaHei"> - - + - - - - - - + + + + +