From c911b82468fcbff3b927f750cefdd1df985085a5 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期一, 19 五月 2025 08:48:00 +0800
Subject: [PATCH] 1.增加调度模式设置(Dispatching mode: 1,EAS, 2:Local)
---
SourceCode/Bond/Servo/CEquipment.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/SourceCode/Bond/Servo/CEquipment.h b/SourceCode/Bond/Servo/CEquipment.h
index fe6ed40..b62b420 100644
--- a/SourceCode/Bond/Servo/CEquipment.h
+++ b/SourceCode/Bond/Servo/CEquipment.h
@@ -68,6 +68,11 @@
BOOL alive;
} ALIVE;
+ enum DISPATCHING_MODE {
+ EAS = 1,
+ Local = 2
+ };
+
class CEquipment
{
public:
@@ -146,7 +151,8 @@
int setCimMessage(const char* pszMessage, short id, short nTouchPanelNo);
int clearCimMessage(short id, short nTouchPanelNo);
int setDateTime(short year, short month, short day, short hour, short minute, short second);
-
+ int setDispatchingMode(DISPATCHING_MODE mode, ONWRITED onWritedBlock = nullptr);
+
// 请求主配方列表
// unitNo: 0:local; Others:unit No
int masterRecipeListRequest(short unitNo);
--
Gitblit v1.9.3