From c31db72ac3c2c3a29a9bbf7ac1b153f236d971fb Mon Sep 17 00:00:00 2001 From: chenluhua1980 <Chenluhua@qq.com> Date: 星期二, 21 十月 2025 18:22:10 +0800 Subject: [PATCH] 1.优化; --- 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