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 | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/Servo/Model.h b/SourceCode/Bond/Servo/Model.h index d2c4e0c..e1b1563 100644 --- a/SourceCode/Bond/Servo/Model.h +++ b/SourceCode/Bond/Servo/Model.h @@ -15,6 +15,9 @@ 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