From 89cd7441c184d37f90d4d5311b348e938119765f Mon Sep 17 00:00:00 2001 From: zxd <zxdvslxy@gmail.com> Date: 星期六, 21 十月 2023 12:28:04 +0800 Subject: [PATCH] 修改最后一个单元格不会被读取的问题 --- MTerm2/MTerm2Doc.h | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/MTerm2/MTerm2Doc.h b/MTerm2/MTerm2Doc.h index 513e170..f630dcc 100644 --- a/MTerm2/MTerm2Doc.h +++ b/MTerm2/MTerm2Doc.h @@ -11,9 +11,9 @@ #include "KLink.h" #include "KMachine.h" -#include "../KLink2/KLink.h" +#include "../KLink1/KLink.h" -#pragma comment(lib,"KLink2.lib") +#pragma comment(lib,"KLink1.lib") class CMTerm2Doc : public CDocument { @@ -30,7 +30,7 @@ // CSerialCom MySerialCom1; HvSerialPort myHvSerialPort1; KMachine myKMachine1; - KLink2 MyKlink2; + KLink1 MyKlink2; bool m_bCommParamSet = false; @@ -279,4 +279,6 @@ int DoPLCMonitor(); afx_msg void OnMenuStatusShow(); afx_msg void OnMenuFactCfg(); + afx_msg void OnMenuDatetimeSet(); + afx_msg void OnMenuEventLog(); }; -- Gitblit v1.9.1