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 |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/Model.h b/SourceCode/Bond/Servo/Model.h
index a9e5369..8cf90a8 100644
--- a/SourceCode/Bond/Servo/Model.h
+++ b/SourceCode/Bond/Servo/Model.h
@@ -14,9 +14,16 @@
 	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);
 	int notifyPtr(int code, void* ptr = NULL);

--
Gitblit v1.9.3