From b099ab8b7c83dc957bd9777a0bb90c1d8202056b Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期一, 09 二月 2026 13:40:17 +0800
Subject: [PATCH] 1.点一下Port时,连接线重新计算后有重叠。增加防抖功能

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

diff --git a/SourceCode/Bond/Servo/CProcessDataListDlg.h b/SourceCode/Bond/Servo/CProcessDataListDlg.h
index a825179..dccf562 100644
--- a/SourceCode/Bond/Servo/CProcessDataListDlg.h
+++ b/SourceCode/Bond/Servo/CProcessDataListDlg.h
@@ -1,5 +1,7 @@
 锘�#pragma once
 #include "ListCtrlEx.h"
+#include <vector>
+#include <utility>
 
 
 // CProcessDataListDlg 瀵硅瘽妗�
@@ -13,13 +15,42 @@
 	virtual ~CProcessDataListDlg();
 
 public:
+	struct PathRow {
+		CString step;
+		CString chamber;
+		CString enterTime;
+		CString leaveTime;
+		bool isArmStep = false;
+	};
+
 	void setRawText(CString& strRawText);
+	void setPathRows(const std::vector<PathRow>& rows);
+	void setUnifiedData(const std::vector<std::pair<CString, CString>>& basicRows,
+		const std::vector<PathRow>& pathRows,
+		const std::vector<std::pair<CString, CString>>& processRows);
+	void setInitialTab(int tabIndex);
 	void InsertParamsToListCtrl(CListCtrl& listCtrl, const CString& data);
 	bool CopyListCtrlToClipboard(CListCtrl& listCtrl, bool includeHeader = false);
 
 private:
 	CString m_strRawText;
 	CListCtrlEx m_listCtrl;
+	CTabCtrl m_tabCtrl;
+	std::vector<PathRow> m_pathRows;
+	std::vector<std::pair<CString, CString>> m_basicRows;
+	std::vector<std::pair<CString, CString>> m_processRows;
+	CButton m_chkShowArm;
+	bool m_showArmSteps = false;
+	int m_initialTab = 0;
+
+private:
+	void LoadArmStepOption();
+	void SaveArmStepOption() const;
+	void SetupListCtrlStyle();
+	void BuildNameValueList(const std::vector<std::pair<CString, CString>>& rows);
+	void BuildPathList();
+	void InitUnifiedLayout();
+	void RenderUnifiedTab();
 
 
 // 瀵硅瘽妗嗘暟鎹�
@@ -34,4 +65,6 @@
 public:
 	virtual BOOL OnInitDialog();
 	afx_msg void OnBnClickedButton1();
+	afx_msg void OnBnClickedCheckShowArm();
+	afx_msg void OnTcnSelchangeTabUnified(NMHDR* pNMHDR, LRESULT* pResult);
 };

--
Gitblit v1.9.3