From f8971cfc3abcc23fd2a5541a7bf698389d5e9300 Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期六, 15 二月 2025 16:47:54 +0800 Subject: [PATCH] 1.增加CMaster, CBonder,CEFEM等类,测试读取CC-Link数据; --- SourceCode/Bond/Servo/ServoDlg.cpp | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/SourceCode/Bond/Servo/ServoDlg.cpp b/SourceCode/Bond/Servo/ServoDlg.cpp index 3f01d22..a8a340b 100644 --- a/SourceCode/Bond/Servo/ServoDlg.cpp +++ b/SourceCode/Bond/Servo/ServoDlg.cpp @@ -9,7 +9,6 @@ #include "Common.h" #include "Log.h" #include "SecsTestDlg.h" -#include "AlarmManager.h" #include <chrono> #include <thread> #include <cmath> @@ -291,8 +290,15 @@ SetTimer(TIMER_ID_CREATE_TERMINAL, 3000, nullptr); InitRxWindows(); + OnBnClickedButtonLog(); UpdateLogBtn(); Resize(); + + + // 相当于延时调用master的初始化 + theApp.m_model.m_master.init(); + + return TRUE; // 除非将焦点设置到控件,否则返回 TRUE } -- Gitblit v1.9.3