From 956cb65690500f099be756accc346f3c8d56be99 Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期一, 20 一月 2025 16:50:54 +0800 Subject: [PATCH] 1.SECS,实现S2F15(Equipment Constant Send)的回复,目前仅打印显示数据,待机器端确认相关逻辑后再保存和设置机器数据。 2.修改和完善S2F13,与S2F15靠拢,并使用相同的数据结构和回调函数到应用层; --- SourceCode/Bond/BondEq/Model.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/BondEq/Model.h b/SourceCode/Bond/BondEq/Model.h index 0feb0c9..58bb762 100644 --- a/SourceCode/Bond/BondEq/Model.h +++ b/SourceCode/Bond/BondEq/Model.h @@ -1,6 +1,8 @@ #pragma once #include "CBonder.h" #include "Configuration.h" +#include "CPanel.h" +#include "GB2860SQLite.h" class CModel @@ -25,10 +27,15 @@ int notifyObjAndPtr(int code, IRxObject* pObj, void* ptr); int notifyObjAndInt(int code, IRxObject* pObj1, IRxObject* pObj2, int exCode); int notifyInt(int code, int exCode); + int notifyInt2(int code, int exCode, int exCode2); + int notifyDouble(int code, double dValue); int notifyText(int code, const char* pszText); int notifyPtrAndInt(int code, void* ptr1, void* ptr2, int exCode); int notifyTextAndInt(int code, const char* pszText, int exCode); int notifyMesMsg(int code, int stream, int function, const char* pszText); + +private: + int savePanel(CPanel* pPanel, CComponent* pComponent); public: CConfiguration m_configuration; @@ -44,5 +51,6 @@ CBonder m_bonder; BEQ::IEquipment* m_pEquipment; int m_nTimerID; + CGB2860SQLite m_sqlite; }; -- Gitblit v1.9.3