From 9f26c7576b45496979b346fd76b53deb1d025599 Mon Sep 17 00:00:00 2001 From: Administrator Date: Tue, 3 Jun 2025 09:09:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=A1=B9=E7=9B=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SocketExample.sln | 25 + SocketExample/App.config | 18 + SocketExample/App.xaml | 35 + SocketExample/App.xaml.cs | 17 + SocketExample/ClientWindow.xaml | 28 + SocketExample/ClientWindow.xaml.cs | 115 +++ SocketExample/MainWindow.xaml | 29 + SocketExample/MainWindow.xaml.cs | 173 +++++ SocketExample/MultiClientsWindow.xaml | 67 ++ SocketExample/MultiClientsWindow.xaml.cs | 212 ++++++ SocketExample/Properties/AssemblyInfo.cs | 52 ++ .../Properties/Resources.Designer.cs | 71 ++ SocketExample/Properties/Resources.resx | 117 ++++ SocketExample/Properties/Settings.Designer.cs | 30 + SocketExample/Properties/Settings.settings | 7 + SocketExample/RFIDmonitor.csproj | 224 ++++++ SocketExample/TCPWindow.xaml | 214 ++++++ SocketExample/TCPWindow.xaml.cs | 592 ++++++++++++++++ SocketExample/TCPWindowV2.xaml | 239 +++++++ SocketExample/TCPWindowV2.xaml.cs | 658 ++++++++++++++++++ SocketExample/TouchSocketWindow.xaml | 114 +++ SocketExample/TouchSocketWindow.xaml.cs | 199 ++++++ SocketExample/packages.config | 25 + 23 files changed, 3261 insertions(+) create mode 100644 SocketExample.sln create mode 100644 SocketExample/App.config create mode 100644 SocketExample/App.xaml create mode 100644 SocketExample/App.xaml.cs create mode 100644 SocketExample/ClientWindow.xaml create mode 100644 SocketExample/ClientWindow.xaml.cs create mode 100644 SocketExample/MainWindow.xaml create mode 100644 SocketExample/MainWindow.xaml.cs create mode 100644 SocketExample/MultiClientsWindow.xaml create mode 100644 SocketExample/MultiClientsWindow.xaml.cs create mode 100644 SocketExample/Properties/AssemblyInfo.cs create mode 100644 SocketExample/Properties/Resources.Designer.cs create mode 100644 SocketExample/Properties/Resources.resx create mode 100644 SocketExample/Properties/Settings.Designer.cs create mode 100644 SocketExample/Properties/Settings.settings create mode 100644 SocketExample/RFIDmonitor.csproj create mode 100644 SocketExample/TCPWindow.xaml create mode 100644 SocketExample/TCPWindow.xaml.cs create mode 100644 SocketExample/TCPWindowV2.xaml create mode 100644 SocketExample/TCPWindowV2.xaml.cs create mode 100644 SocketExample/TouchSocketWindow.xaml create mode 100644 SocketExample/TouchSocketWindow.xaml.cs create mode 100644 SocketExample/packages.config diff --git a/SocketExample.sln b/SocketExample.sln new file mode 100644 index 0000000..eda7d05 --- /dev/null +++ b/SocketExample.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.13.35913.81 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RFIDmonitor", "SocketExample\RFIDmonitor.csproj", "{7E4E4E45-2FB2-4346-A101-4863BCDF50F9}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7E4E4E45-2FB2-4346-A101-4863BCDF50F9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7E4E4E45-2FB2-4346-A101-4863BCDF50F9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7E4E4E45-2FB2-4346-A101-4863BCDF50F9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7E4E4E45-2FB2-4346-A101-4863BCDF50F9}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {484367ED-A45A-4CF7-89AC-DCD9BFC6E131} + EndGlobalSection +EndGlobal diff --git a/SocketExample/App.config b/SocketExample/App.config new file mode 100644 index 0000000..abb8196 --- /dev/null +++ b/SocketExample/App.config @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SocketExample/App.xaml b/SocketExample/App.xaml new file mode 100644 index 0000000..abe739a --- /dev/null +++ b/SocketExample/App.xaml @@ -0,0 +1,35 @@ + + + + + diff --git a/SocketExample/App.xaml.cs b/SocketExample/App.xaml.cs new file mode 100644 index 0000000..22b16a7 --- /dev/null +++ b/SocketExample/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 SocketExample +{ + /// + /// App.xaml 的交互逻辑 + /// + public partial class App : Application + { + } +} diff --git a/SocketExample/ClientWindow.xaml b/SocketExample/ClientWindow.xaml new file mode 100644 index 0000000..c13da21 --- /dev/null +++ b/SocketExample/ClientWindow.xaml @@ -0,0 +1,28 @@ + + + + + + +