From 84925ada39fdef3f5bd7266005010103897713a6 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期五, 11 七月 2025 17:49:15 +0800
Subject: [PATCH] 1.EAP模拟器,启用或禁用警告上报功能实现和模拟测试; 2.Master端,收到EAP的启用或警告消息上报消息后,保存相关配置,如后续机器发生警告,根据配置决定是否上报警告消息;

---
 SourceCode/Bond/Servo/Model.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/Model.h b/SourceCode/Bond/Servo/Model.h
index 6e2655c..d2c4e0c 100644
--- a/SourceCode/Bond/Servo/Model.h
+++ b/SourceCode/Bond/Servo/Model.h
@@ -2,6 +2,7 @@
 #include "Configuration.h"
 #include "HsmsPassive.h"
 #include "CMaster.h"
+#include "CGlassPool.h"
 
 class CModel
 {
@@ -11,7 +12,9 @@
 
 public:
 	IObservable* getObservable();
+	SERVO::CMaster& getMaster();
 	void setWorkDir(const char* pszWorkDir);
+	void loadPortParams();
 	int init();
 	int term();
 
@@ -32,6 +35,7 @@
 public:
 	CConfiguration m_configuration;
 	CHsmsPassive m_hsmsPassive;
+	SERVO::CGlassPool m_glassPool;
 	SERVO::CMaster m_master;
 
 private:

--
Gitblit v1.9.3