From a0022a4e7d8da7391db2926acd69b3c712135762 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期一, 01 九月 2025 11:49:28 +0800
Subject: [PATCH] 1.仅在千传模式下显示千传计数;

---
 SourceCode/Bond/Servo/ServoDlg.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/Servo/ServoDlg.cpp b/SourceCode/Bond/Servo/ServoDlg.cpp
index 5d2e6d5..c1a4238 100644
--- a/SourceCode/Bond/Servo/ServoDlg.cpp
+++ b/SourceCode/Bond/Servo/ServoDlg.cpp
@@ -242,7 +242,7 @@
 						pEq2 = theApp.m_model.getMaster().getEquipment(pTask->getTarPosition());
 						if (pEq1 != nullptr && pEq2 != nullptr) {
 							CString strText;
-							if (theApp.m_model.getMaster().getContinuousTransferCount() > 0) {
+							if (theApp.m_model.getMaster().getState() == SERVO::MASTERSTATE::RUNNING_CONTINUOUS_TRANSFER) {
 								strText.Format(_T("[%d]%s --> %s"),
 									theApp.m_model.getMaster().getContinuousTransferCount(),
 									pEq1->getName().c_str(), pEq2->getName().c_str());

--
Gitblit v1.9.3