From 02d1df7b4fa1a0e686c112e7bf3c8e794ba42b82 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期四, 19 六月 2025 10:04:26 +0800
Subject: [PATCH] 1. 添加设备配方绑定

---
 SourceCode/Bond/Servo/Servo.vcxproj           |    2 +
 SourceCode/Bond/Servo/Servo.vcxproj.filters   |    2 +
 SourceCode/Bond/Servo/resource.h              |    0 
 SourceCode/Bond/Servo/RecipeDeviceBindDlg.h   |   24 ++++++++++++
 SourceCode/Bond/Servo/Servo.rc                |    0 
 SourceCode/Bond/Servo/RecipeDeviceBindDlg.cpp |   34 +++++++++++++++++
 6 files changed, 62 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/RecipeDeviceBindDlg.cpp b/SourceCode/Bond/Servo/RecipeDeviceBindDlg.cpp
new file mode 100644
index 0000000..fec07da
--- /dev/null
+++ b/SourceCode/Bond/Servo/RecipeDeviceBindDlg.cpp
@@ -0,0 +1,34 @@
+锘�// RecipeDeviceBindDlg.cpp: 瀹炵幇鏂囦欢
+//
+
+#include "stdafx.h"
+#include "Servo.h"
+#include "afxdialogex.h"
+#include "RecipeDeviceBindDlg.h"
+
+
+// CRecipeDeviceBindDlg 瀵硅瘽妗�
+
+IMPLEMENT_DYNAMIC(CRecipeDeviceBindDlg, CDialogEx)
+
+CRecipeDeviceBindDlg::CRecipeDeviceBindDlg(CWnd* pParent /*=nullptr*/)
+	: CDialogEx(IDD_DIALOG_RECIPE_DEVICE_BIND, pParent)
+{
+
+}
+
+CRecipeDeviceBindDlg::~CRecipeDeviceBindDlg()
+{
+}
+
+void CRecipeDeviceBindDlg::DoDataExchange(CDataExchange* pDX)
+{
+	CDialogEx::DoDataExchange(pDX);
+}
+
+
+BEGIN_MESSAGE_MAP(CRecipeDeviceBindDlg, CDialogEx)
+END_MESSAGE_MAP()
+
+
+// CRecipeDeviceBindDlg 娑堟伅澶勭悊绋嬪簭
diff --git a/SourceCode/Bond/Servo/RecipeDeviceBindDlg.h b/SourceCode/Bond/Servo/RecipeDeviceBindDlg.h
new file mode 100644
index 0000000..c6634bf
--- /dev/null
+++ b/SourceCode/Bond/Servo/RecipeDeviceBindDlg.h
@@ -0,0 +1,24 @@
+锘�#pragma once
+#include "afxdialogex.h"
+
+
+// CRecipeDeviceBindDlg 瀵硅瘽妗�
+
+class CRecipeDeviceBindDlg : public CDialogEx
+{
+	DECLARE_DYNAMIC(CRecipeDeviceBindDlg)
+
+public:
+	CRecipeDeviceBindDlg(CWnd* pParent = nullptr);   // 鏍囧噯鏋勯�犲嚱鏁�
+	virtual ~CRecipeDeviceBindDlg();
+
+// 瀵硅瘽妗嗘暟鎹�
+#ifdef AFX_DESIGN_TIME
+	enum { IDD = IDD_DIALOG_RECIPE_DEVICE_BIND };
+#endif
+
+protected:
+	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 鏀寔
+
+	DECLARE_MESSAGE_MAP()
+};
diff --git a/SourceCode/Bond/Servo/Servo.rc b/SourceCode/Bond/Servo/Servo.rc
index fb18f5b..3440b75 100644
--- a/SourceCode/Bond/Servo/Servo.rc
+++ b/SourceCode/Bond/Servo/Servo.rc
Binary files differ
diff --git a/SourceCode/Bond/Servo/Servo.vcxproj b/SourceCode/Bond/Servo/Servo.vcxproj
index 30dacba..3b20373 100644
--- a/SourceCode/Bond/Servo/Servo.vcxproj
+++ b/SourceCode/Bond/Servo/Servo.vcxproj
@@ -317,6 +317,7 @@
     <ClInclude Include="PageTransferLog.h" />
     <ClInclude Include="PortConfigurationDlg.h" />
     <ClInclude Include="ProductionLogManager.h" />
+    <ClInclude Include="RecipeDeviceBindDlg.h" />
     <ClInclude Include="RecipeManager.h" />
     <ClInclude Include="Resource.h" />
     <ClInclude Include="SECSRuntimeManager.h" />
@@ -455,6 +456,7 @@
     <ClCompile Include="PageTransferLog.cpp" />
     <ClCompile Include="PortConfigurationDlg.cpp" />
     <ClCompile Include="ProductionLogManager.cpp" />
+    <ClCompile Include="RecipeDeviceBindDlg.cpp" />
     <ClCompile Include="RecipeManager.cpp" />
     <ClCompile Include="SECSRuntimeManager.cpp" />
     <ClCompile Include="SecsTestDlg.cpp" />
diff --git a/SourceCode/Bond/Servo/Servo.vcxproj.filters b/SourceCode/Bond/Servo/Servo.vcxproj.filters
index 76458e6..d4ed655 100644
--- a/SourceCode/Bond/Servo/Servo.vcxproj.filters
+++ b/SourceCode/Bond/Servo/Servo.vcxproj.filters
@@ -168,6 +168,7 @@
     <ClCompile Include="UserManager.cpp" />
     <ClCompile Include="InputDialog.cpp" />
     <ClCompile Include="RecipeManager.cpp" />
+    <ClCompile Include="RecipeDeviceBindDlg.cpp" />
   </ItemGroup>
   <ItemGroup>
     <ClInclude Include="AlarmManager.h" />
@@ -341,6 +342,7 @@
     <ClInclude Include="SystemLogManager.h" />
     <ClInclude Include="InputDialog.h" />
     <ClInclude Include="RecipeManager.h" />
+    <ClInclude Include="RecipeDeviceBindDlg.h" />
   </ItemGroup>
   <ItemGroup>
     <ResourceCompile Include="Servo.rc" />
diff --git a/SourceCode/Bond/Servo/resource.h b/SourceCode/Bond/Servo/resource.h
index dbea761..5804523 100644
--- a/SourceCode/Bond/Servo/resource.h
+++ b/SourceCode/Bond/Servo/resource.h
Binary files differ

--
Gitblit v1.9.3