From 469bf4af5180cdee2808b595e2d48d6266992235 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期一, 10 三月 2025 16:10:29 +0800
Subject: [PATCH] 1.调整报警窗口

---
 SourceCode/Bond/Servo/AlarmDlg.cpp |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diff --git a/SourceCode/Bond/Servo/AlarmDlg.cpp b/SourceCode/Bond/Servo/AlarmDlg.cpp
index f12426f..3c3ff33 100644
--- a/SourceCode/Bond/Servo/AlarmDlg.cpp
+++ b/SourceCode/Bond/Servo/AlarmDlg.cpp
@@ -81,17 +81,7 @@
 						if (pListCtrl != nullptr) {
 							InsertAlarmData(pListCtrl, alarmData);
 						}
-
-						// 娣诲姞鏂扮殑 Alarm 鏁版嵁
-						int alarmEventId = 0;
-						bool result = alarmManager.addAlarm(alarmData, alarmEventId);
-						if (result) {
-							LOGI("<CAlarmDlg> Alarm added successfully!");
 					}
-						else {
-							LOGI("<CAlarmDlg> Failed to add alarm.");
-				}
-			}
 				}
 			}
 
@@ -116,7 +106,7 @@
 	GetClientRect(&rcClient);
 
 	pItem = GetDlgItem(IDC_LIST_ALARM);
-	pItem->MoveWindow(12, 52, rcClient.Width() - 24, rcClient.Height() - 64);
+	pItem->MoveWindow(12, 58, rcClient.Width() - 24, rcClient.Height() - 64);
 }
 
 void CAlarmDlg::LoadAlarms()

--
Gitblit v1.9.3