From 6426aef4dbdc675bf9807498c97fbf4552dc80dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=82=E6=84=8F=20=E5=BD=AD?= <2417589739@qq.com> Date: Mon, 19 Sep 2022 17:20:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BD=8D=E6=9C=BA=E8=AE=BE=E8=AE=A1?= =?UTF-8?q?=E6=A1=86=E6=9E=B6=E6=90=AD=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BPASmart.ConfigurationSoftware/App.xaml | 8 + BPASmart.ConfigurationSoftware/App.xaml.cs | 17 + .../AssemblyInfo.cs | 10 + .../BPASmart.ConfigurationSoftware.csproj | 28 + .../MainWindow.xaml | 207 ++++++ .../MainWindow.xaml.cs | 31 + .../MainWindowViewModel.cs | 93 +++ .../Model/NewDataModel.cs | 19 + .../NewPageView.xaml | 54 ++ .../NewPageView.xaml.cs | 45 ++ .../NewProjectView.xaml | 73 ++ .../NewProjectView.xaml.cs | 41 ++ .../NewProjectViewModel.cs | 56 ++ .../{ => Config}/CommunicationPar.cs | 3 + BPASmart.Model/Config/ConnectPar.cs | 29 + BPASmart.Model/{ => MQTT}/PublishInfo.cs | 0 BPASmart.Model/{ => MQTT}/PublishModel.cs | 0 BPASmart.Model/NoticeBase.cs | 1 + BPASmart.Model/Topics.cs | 26 + BPASmart.Server/CommunicationServer.cs | 243 +----- .../BPASmart.SmallBatchingSystem.csproj | 9 + BPASmart.SmallBatchingSystem/DataModel.cs | 44 ++ BPASmart.SmallBatchingSystem/Main.cs | 14 + .../Pages/View/NfcSetView.xaml | 181 +++-- .../Themes/Generic.xaml | 692 +++++++++++------- BeDesignerSCADA/App.xaml | 15 +- BeDesignerSCADA/Controls/RunCanvas.xaml | 55 +- BeDesignerSCADA/Themes/Styles.xaml | 430 +++++++---- SmartClient.sln | 46 ++ 29 files changed, 1724 insertions(+), 746 deletions(-) create mode 100644 BPASmart.ConfigurationSoftware/App.xaml create mode 100644 BPASmart.ConfigurationSoftware/App.xaml.cs create mode 100644 BPASmart.ConfigurationSoftware/AssemblyInfo.cs create mode 100644 BPASmart.ConfigurationSoftware/BPASmart.ConfigurationSoftware.csproj create mode 100644 BPASmart.ConfigurationSoftware/MainWindow.xaml create mode 100644 BPASmart.ConfigurationSoftware/MainWindow.xaml.cs create mode 100644 BPASmart.ConfigurationSoftware/MainWindowViewModel.cs create mode 100644 BPASmart.ConfigurationSoftware/Model/NewDataModel.cs create mode 100644 BPASmart.ConfigurationSoftware/NewPageView.xaml create mode 100644 BPASmart.ConfigurationSoftware/NewPageView.xaml.cs create mode 100644 BPASmart.ConfigurationSoftware/NewProjectView.xaml create mode 100644 BPASmart.ConfigurationSoftware/NewProjectView.xaml.cs create mode 100644 BPASmart.ConfigurationSoftware/NewProjectViewModel.cs rename BPASmart.Model/{ => Config}/CommunicationPar.cs (85%) create mode 100644 BPASmart.Model/Config/ConnectPar.cs rename BPASmart.Model/{ => MQTT}/PublishInfo.cs (100%) rename BPASmart.Model/{ => MQTT}/PublishModel.cs (100%) create mode 100644 BPASmart.Model/Topics.cs create mode 100644 BPASmart.SmallBatchingSystem/BPASmart.SmallBatchingSystem.csproj create mode 100644 BPASmart.SmallBatchingSystem/DataModel.cs create mode 100644 BPASmart.SmallBatchingSystem/Main.cs diff --git a/BPASmart.ConfigurationSoftware/App.xaml b/BPASmart.ConfigurationSoftware/App.xaml new file mode 100644 index 00000000..d9999060 --- /dev/null +++ b/BPASmart.ConfigurationSoftware/App.xaml @@ -0,0 +1,8 @@ + + + diff --git a/BPASmart.ConfigurationSoftware/App.xaml.cs b/BPASmart.ConfigurationSoftware/App.xaml.cs new file mode 100644 index 00000000..36d2ed7b --- /dev/null +++ b/BPASmart.ConfigurationSoftware/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace BPASmart.ConfigurationSoftware +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/BPASmart.ConfigurationSoftware/AssemblyInfo.cs b/BPASmart.ConfigurationSoftware/AssemblyInfo.cs new file mode 100644 index 00000000..8b5504ec --- /dev/null +++ b/BPASmart.ConfigurationSoftware/AssemblyInfo.cs @@ -0,0 +1,10 @@ +using System.Windows; + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] diff --git a/BPASmart.ConfigurationSoftware/BPASmart.ConfigurationSoftware.csproj b/BPASmart.ConfigurationSoftware/BPASmart.ConfigurationSoftware.csproj new file mode 100644 index 00000000..b5565f9c --- /dev/null +++ b/BPASmart.ConfigurationSoftware/BPASmart.ConfigurationSoftware.csproj @@ -0,0 +1,28 @@ + + + + WinExe + net6.0-windows + enable + true + true + + + + + + + + + + + + + + + + + + + + diff --git a/BPASmart.ConfigurationSoftware/MainWindow.xaml b/BPASmart.ConfigurationSoftware/MainWindow.xaml new file mode 100644 index 00000000..df41ee7b --- /dev/null +++ b/BPASmart.ConfigurationSoftware/MainWindow.xaml @@ -0,0 +1,207 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +