From fc8a81d80e32cdafdae319cf439145db6613c793 Mon Sep 17 00:00:00 2001
From: QuakeGod <QuakeGod@sina.com>
Date: 星期五, 22 七月 2022 15:00:10 +0800
Subject: [PATCH] fix HvserialPort and Klink

---
 MTerm2/MTerm2Doc.h |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/MTerm2/MTerm2Doc.h b/MTerm2/MTerm2Doc.h
index af33870..724f64e 100644
--- a/MTerm2/MTerm2Doc.h
+++ b/MTerm2/MTerm2Doc.h
@@ -5,8 +5,8 @@
 
 #pragma once
 #include "HvSerialPort.h"
-#include "CAnsiParser.h"
-#include "CDataParser1.h"
+#include "AnsiParser.h"
+#include "DataParser1.h"
 #include "KDefine.h"
 #include "KLink.h"
 #include "KMachine.h"
@@ -53,15 +53,15 @@
 	CString ProgTxt;
 
 
-	struct stTypeDef
+	struct stTypeNameDef
 	{
 		int nType;
 		CStringA TypeTxt;
 	};
-	static stTypeDef CoilTypeDef[];
+	static stTypeNameDef CoilTypeNameDef[];
 	static int nCoilTypeDefCount;
 
-	static stTypeDef DataTypeDef[];
+	static stTypeNameDef DataTypeNameDef[];
 	static int nDataTypeDefCount;
 
 	stKMem KMem;
@@ -277,4 +277,8 @@
 	int AddMonitorData(int nDataType, int nDataAddr, int nDataCount);
 	int ClearMonitor();
 	int DoPLCMonitor(); 
+	afx_msg void OnMenuStatusShow();
+	afx_msg void OnMenuFactCfg();
+	afx_msg void OnMenuDatetimeSet();
+	afx_msg void OnMenuEventLog();
 };

--
Gitblit v1.9.1