From 97e9c6896ffaedcc2c00fb4ea1bee6a5cdbc4a5d Mon Sep 17 00:00:00 2001
From: darker <mr.darker@163.com>
Date: 星期五, 21 二月 2025 15:55:55 +0800
Subject: [PATCH] 1. 报警记录界面加载数据库的数据,并且实现过滤查找

---
 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..88ed43d 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