From aadeadede11fabacebc5378ac0548794f5f49a74 Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期四, 11 十二月 2025 13:51:57 +0800
Subject: [PATCH] 1.实现报告的增加和删除;

---
 SourceCode/Bond/Servo/CVariableEditDlg2.h |   34 ++++++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/CVariableEditDlg2.h b/SourceCode/Bond/Servo/CVariableEditDlg2.h
new file mode 100644
index 0000000..4d09c05
--- /dev/null
+++ b/SourceCode/Bond/Servo/CVariableEditDlg2.h
@@ -0,0 +1,34 @@
+锘�#pragma once
+#include "afxdialogex.h"
+
+// 鍙橀噺缂栬緫瀵硅瘽妗嗭紙鏂板/缂栬緫鍏辩敤锛屼娇鐢ㄨ祫婧愭ā鏉匡級
+class CVariableEditDlg2 : public CDialogEx
+{
+	DECLARE_DYNAMIC(CVariableEditDlg2)
+
+public:
+	CVariableEditDlg2(const CString& title, int varId, const CString& type, const CString& name, const CString& remark, CWnd* pParent = nullptr);
+	virtual ~CVariableEditDlg2();
+
+	int GetVarId() const { return m_varId; }
+	CString GetTypeText() const { return m_strType; }
+	CString GetNameText() const { return m_strName; }
+	CString GetRemark() const { return m_strRemark; }
+
+protected:
+	virtual BOOL OnInitDialog() override;
+	virtual void DoDataExchange(CDataExchange* pDX) override;
+	afx_msg void OnOK();
+
+	DECLARE_MESSAGE_MAP()
+
+private:
+	CString m_strTitle;
+	int m_varId;
+	CString m_strType;
+	CString m_strName;
+	CString m_strRemark;
+
+	CEdit   m_editId, m_editName, m_editRemark;
+	CComboBox m_cbType;
+};

--
Gitblit v1.9.3