From 6188bfb6ef4f52da1722d8b1a37c9dea17989d50 Mon Sep 17 00:00:00 2001
From: sc <2401809606@qq.com>
Date: Tue, 18 Mar 2025 00:10:56 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E8=AE=A1=E5=88=92=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9=E5=A2=9E=E5=8A=A0=E5=9B=BE=E8=A1=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
...tCentralizedControlManagement_SCCM_.csproj | 8 +
View/CurveTemp.xaml | 17 ++
View/CurveTemp.xaml.cs | 35 ++++
View/DyeingPlanView.xaml | 10 +-
View/DyeingPlanView.xaml.cs | 176 ++++++++++++------
View/ProgramstepsView .xaml.cs | 3 +-
ViewModel/CurveTempModel.cs | 132 +++++++++++++
ViewModel/ViewModelLocator.cs | 8 +-
WindowsView/User.xaml.cs | 4 +
WindowsView/ViewStep.xaml.cs | 19 +-
10 files changed, 351 insertions(+), 61 deletions(-)
create mode 100644 View/CurveTemp.xaml
create mode 100644 View/CurveTemp.xaml.cs
create mode 100644 ViewModel/CurveTempModel.cs
diff --git a/SunlightCentralizedControlManagement_SCCM_.csproj b/SunlightCentralizedControlManagement_SCCM_.csproj
index b19a993..ee69463 100644
--- a/SunlightCentralizedControlManagement_SCCM_.csproj
+++ b/SunlightCentralizedControlManagement_SCCM_.csproj
@@ -124,9 +124,13 @@
+
+
+ CurveTemp.xaml
+
CurveDiagram.xaml
@@ -218,6 +222,10 @@
MainWindow.xaml
Code
+
+ MSBuild:Compile
+ Designer
+
Designer
MSBuild:Compile
diff --git a/View/CurveTemp.xaml b/View/CurveTemp.xaml
new file mode 100644
index 0000000..73f8cbe
--- /dev/null
+++ b/View/CurveTemp.xaml
@@ -0,0 +1,17 @@
+
+
+
+
+
diff --git a/View/CurveTemp.xaml.cs b/View/CurveTemp.xaml.cs
new file mode 100644
index 0000000..d59273c
--- /dev/null
+++ b/View/CurveTemp.xaml.cs
@@ -0,0 +1,35 @@
+using SunlightCentralizedControlManagement_SCCM_.ViewModel;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace SunlightCentralizedControlManagement_SCCM_.View
+{
+ ///
+ /// CurveDiagram.xaml 的交互逻辑
+ ///
+ public partial class CurveTemp : UserControl
+ {
+ public static DataTable dataTable;
+ public CurveTemp(DataTable db)
+ {
+ InitializeComponent();
+
+ dataTable = db;
+
+ DataContext = new CurveTempModel();
+ }
+ }
+}
diff --git a/View/DyeingPlanView.xaml b/View/DyeingPlanView.xaml
index 658682e..c863c36 100644
--- a/View/DyeingPlanView.xaml
+++ b/View/DyeingPlanView.xaml
@@ -10,7 +10,7 @@
d:DesignHeight="900" d:DesignWidth="1100">
+ FontSize="15" IsEditable="True" BorderBrush="#FF673AB7" DropDownClosed="comboBoxMachine_DropDownClosed" KeyDown="comboBoxWorkOrder_KeyDown"/>
+ Margin="0,100,10,60" Width="600" HorizontalAlignment="Right" BorderBrush="#FFC9C9C9" FontSize="16" BorderThickness="5,5,5,5" >