From edf3800e843780e0c6684a6b78f6bf93b4bbcde6 Mon Sep 17 00:00:00 2001 From: chenluhua1980 <Chenluhua@qq.com> Date: 星期三, 10 十二月 2025 10:47:41 +0800 Subject: [PATCH] 1.加载VariableList.txt时,兼容各种编码; --- 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 a9e5369..e1b1563 100644 --- a/SourceCode/Bond/Servo/Model.h +++ b/SourceCode/Bond/Servo/Model.h @@ -14,6 +14,10 @@ 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(); -- Gitblit v1.9.3