From df71cb126c2016d1e1b8b614bd9805d063068eb0 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期五, 10 一月 2025 17:49:10 +0800
Subject: [PATCH] 1.SECS 测试,实现Are you there回复,建立通讯回复,时间设置处理及回复;

---
 SourceCode/Bond/Servo/Model.h |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/Model.h b/SourceCode/Bond/Servo/Model.h
index acba736..00733d2 100644
--- a/SourceCode/Bond/Servo/Model.h
+++ b/SourceCode/Bond/Servo/Model.h
@@ -1,4 +1,7 @@
 #pragma once
+#include "Configuration.h"
+#include "HsmsPassive.h"
+
 class CModel
 {
 public:
@@ -6,7 +9,33 @@
 	~CModel();
 
 public:
+	IObservable* getObservable();
+	void setWorkDir(const char* pszWorkDir);
 	int init();
 	int term();
+
+public:
+	int notify(int code);
+	int notifyPtr(int code, void* ptr = NULL);
+	int notifyObj(int code, IRxObject* pObj);
+	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);
+
+public:
+	CConfiguration m_configuration;
+	CHsmsPassive m_hsmsPassive;
+
+private:
+	IObservable* m_pObservable;
+	IObservableEmitter* m_pObservableEmitter;
+	CString m_strWorkDir;
+	CString m_strDataDir;
 };
 

--
Gitblit v1.9.3