From 5cf5e464a5891c8eb62aafadfce0d204fdc79b02 Mon Sep 17 00:00:00 2001 From: mrDarker <mr.darker@163.com> Date: 星期四, 22 五月 2025 13:50:02 +0800 Subject: [PATCH] 1. 添加机械臂快速测试界面 --- SourceCode/Bond/Servo/CGlass.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/Servo/CGlass.h b/SourceCode/Bond/Servo/CGlass.h index 4fa6b33..8ed33c2 100644 --- a/SourceCode/Bond/Servo/CGlass.h +++ b/SourceCode/Bond/Servo/CGlass.h @@ -20,6 +20,7 @@ public: CGlass(); virtual ~CGlass(); + void reset(); public: virtual std::string& getClassName(); @@ -36,6 +37,9 @@ CJobDataB* getJobDataB(); void setJobDataS(CJobDataS* pJobDataS); CJobDataS* getJobDataS(); + BOOL setBuddy(CGlass* pGlass); + CGlass* getBuddy(); + std::string& getBuddyId(); private: MaterialsType m_type; @@ -43,6 +47,8 @@ CPath* m_pPath; CJobDataB m_jobDataB; CJobDataS m_jobDataS; + CGlass* m_pBuddy; + std::string m_strBuddyId; }; } -- Gitblit v1.9.3