From 9c9100b078e9ac4ee7ed61500b4d7c7a74207549 Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期四, 08 一月 2026 10:32:44 +0800
Subject: [PATCH] 1.继续完善模拟测试等

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

diff --git a/SourceCode/Bond/Servo/Model.h b/SourceCode/Bond/Servo/Model.h
index 6e2655c..8cf90a8 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,9 +12,17 @@
 
 public:
 	IObservable* getObservable();
+	SERVO::CMaster& getMaster();
 	void setWorkDir(const char* pszWorkDir);
+	void loadPortParams();
+	void setPortType(unsigned int index, SERVO::PortType type);;
+	void setPortCassetteType(unsigned int index, SERVO::CassetteType type);
+	void setPortEnable(unsigned int index, BOOL bEnable);
 	int init();
 	int term();
+
+private:
+	void refreshDerivedSVs();
 
 public:
 	int notify(int code);
@@ -32,6 +41,7 @@
 public:
 	CConfiguration m_configuration;
 	CHsmsPassive m_hsmsPassive;
+	SERVO::CGlassPool m_glassPool;
 	SERVO::CMaster m_master;
 
 private:

--
Gitblit v1.9.3