mrDarker
2025-06-27 74401edd0fb47294538d7253ad15e6a8d3d1fc5a
SourceCode/Bond/Servo/CPageGraph1.h
@@ -27,12 +27,15 @@
public:
   std::string GetConfigPath();
   void InitRxWindows();
   void UpdateDeviceStatus(int id, DeviceStatus status);
   void UpdateRobotPosition(float percentage);
   void RotateRobot(float angleInDegrees);
   void BindEquipmentToGraph();
   void MoveRobotToPosition(SERVO::ROBOT_POSITION position);
   POINT LoadArmOffset(const std::string& armName);
   void SaveArmOffset(const std::string& armName, const POINT& pt);
private:
   IObserver* m_pObserver;
@@ -41,6 +44,9 @@
   COLORREF m_crBkgnd;
   HBRUSH m_hbrBkgnd;
   SERVO::ROBOT_POSITION m_lastRobotPosition;
   BOOL m_lastArmState[2];
   POINT m_arm1Offset; // ARM1 从中心向左47, 向上33
   POINT m_arm2Offset; // ARM2 从中心向右10, 向上33
// 对话框数据
#ifdef AFX_DESIGN_TIME