From 5bcbdac9793e19713d41b58c9eeefbd0818d192b Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期二, 06 五月 2025 16:50:05 +0800 Subject: [PATCH] 1.暂存配方参数获取 --- SourceCode/Bond/Servo/CEquipment.h | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/SourceCode/Bond/Servo/CEquipment.h b/SourceCode/Bond/Servo/CEquipment.h index 1e6d326..0b66f2f 100644 --- a/SourceCode/Bond/Servo/CEquipment.h +++ b/SourceCode/Bond/Servo/CEquipment.h @@ -133,6 +133,12 @@ // unitNo: 0:local; Others:unit No int masterRecipeListRequest(short unitNo); + // 请求配方参数 + // masterRecipeId: 主配方id + // localRecipeId: 本地配方id + // unitNo: 0:local; Others:unit No + int recipeParameterRequest(short masterRecipeId, short localRecipeId, short unitNo); + // 以下为从CC-Link读取到的Bit标志位检测函数 public: @@ -150,7 +156,8 @@ BOOL isBitOn(const char* pszData, size_t size, int index); inline BOOL equalBool(BOOL b1, BOOL b2); void addGlassToList(CGlass* pGlass); - int decodeRecipeListReport(const char* pszData, size_t size); + short decodeRecipeListReport(const char* pszData, size_t size); + short decodeRecipeParameterReport(const char* pszData, size_t size); protected: EquipmentListener m_listener; -- Gitblit v1.9.3