From 0a20f73829d9d53e060927f23c2777f10347ac65 Mon Sep 17 00:00:00 2001
From: QuakeGod <QuakeGod@sina.com>
Date: 星期三, 29 十二月 2021 13:43:59 +0800
Subject: [PATCH] add Klink Dll project

---
 MTerm2/MTerm2Doc.h |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/MTerm2/MTerm2Doc.h b/MTerm2/MTerm2Doc.h
index c9167dd..af33870 100644
--- a/MTerm2/MTerm2Doc.h
+++ b/MTerm2/MTerm2Doc.h
@@ -11,6 +11,10 @@
 #include "KLink.h"
 #include "KMachine.h"
 
+#include "../KLink2/KLink.h"
+
+#pragma comment(lib,"KLink2.lib")
+
 class CMTerm2Doc : public CDocument
 {
 protected: // 浠呬粠搴忓垪鍖栧垱寤�
@@ -26,7 +30,7 @@
 	// CSerialCom MySerialCom1;
 	HvSerialPort myHvSerialPort1;
 	KMachine myKMachine1;
-
+	KLink2 MyKlink2;
 
 
 	bool m_bCommParamSet = false;
@@ -69,7 +73,7 @@
 		KLParamNum,
 
 	};
-	struct stProgDef
+	struct stOpDef
 	{
 		int nOpType1;
 		CStringA OpTxt;
@@ -77,9 +81,9 @@
 		int nParamType;
 		CStringA ShowTxt;
 	};
-	static stProgDef ProgDef[];
+	static stOpDef OpDef[];
 
-	static int nProgDefCount;
+	static int nOpDefCount;
 	struct stParam
 	{
 		CStringA sParamStr;

--
Gitblit v1.9.1