From 393f5685448eab573f2c1f15f0725e49ffea8d4b Mon Sep 17 00:00:00 2001
From: darker <mr.darker@163.com>
Date: 星期四, 16 一月 2025 15:26:52 +0800
Subject: [PATCH] 1. 添加机械臂水平移动功能

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

diff --git a/SourceCode/Bond/Servo/ServoDlg.h b/SourceCode/Bond/Servo/ServoDlg.h
index df41e4a..f0a270e 100644
--- a/SourceCode/Bond/Servo/ServoDlg.h
+++ b/SourceCode/Bond/Servo/ServoDlg.h
@@ -19,6 +19,7 @@
 private:
 	void Resize();
 	void UpdateLogBtn();
+	void UpdateRobotPosition(float percentage);
 
 
 // 对话框数据
@@ -60,4 +61,15 @@
 	afx_msg LRESULT OnLogDlgHide(WPARAM wParam, LPARAM lParam);
 	afx_msg void OnMoving(UINT fwSide, LPRECT pRect);
 	afx_msg void OnMove(int x, int y);
+	afx_msg void OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu);
+	afx_msg void OnMenuFileSettings();
+	afx_msg void OnUpdateMenuFileSettings(CCmdUI* pCmdUI);
+	afx_msg void OnMenuFileSecsTest();
+	afx_msg void OnUpdateMenuFileSecsTest(CCmdUI* pCmdUI);
+	afx_msg void OnMenuWndLog();
+	afx_msg void OnUpdateMenuWndLog(CCmdUI* pCmdUI);
+	afx_msg void OnMenuFileExit();
+	afx_msg void OnUpdateMenuFileExit(CCmdUI* pCmdUI);
+	afx_msg void OnMenuHelpAbout();
+	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
 };

--
Gitblit v1.9.3