From 3ba7f1dbf602fb376c4cd158a8a416a4910902fe Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期六, 15 二月 2025 16:58:40 +0800
Subject: [PATCH] Merge branch 'liuyang'
---
SourceCode/Bond/Servo/ServoDlg.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/SourceCode/Bond/Servo/ServoDlg.h b/SourceCode/Bond/Servo/ServoDlg.h
index 0a760d0..b6bec04 100644
--- a/SourceCode/Bond/Servo/ServoDlg.h
+++ b/SourceCode/Bond/Servo/ServoDlg.h
@@ -8,6 +8,10 @@
#include "LogDlg.h"
#include "TerminalDisplayDlg.h"
+enum DeviceStatus {
+ Online, // 在线
+ Offline, // 离线
+};
// CServoDlg 对话框
class CServoDlg : public CDialogEx
@@ -26,6 +30,7 @@
void UpdateLogBtn();
void UpdateRobotPosition(float percentage);
void RotateRobot(float angleInDegrees);
+ void UpdateDeviceStatus(int id, DeviceStatus status);
private:
--
Gitblit v1.9.3