From 2444bfcf24f4d699a3086fb09c33c00c486f5d1d Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期四, 13 十一月 2025 16:54:38 +0800
Subject: [PATCH] 1.最大化/窗口标题/版本号

---
 SourceCode/Bond/Servo/CLoadPort.cpp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/SourceCode/Bond/Servo/CLoadPort.cpp b/SourceCode/Bond/Servo/CLoadPort.cpp
index 13df4d9..ebd1690 100644
--- a/SourceCode/Bond/Servo/CLoadPort.cpp
+++ b/SourceCode/Bond/Servo/CLoadPort.cpp
@@ -353,7 +353,7 @@
 
 		// 从配置读出的enable,初始化时写给efem
 		static int i_enable[4] = { 0 };
-		if ((++i_enable[m_nIndex]) == 10 + m_nIndex) {
+		if ((++i_enable[m_nIndex]) == 20 + m_nIndex) {
 			eablePort(m_bEnable, [&](int code) -> int {
 				LOGI("<LoadPort-%d>eablePort:code=%d", m_nIndex, code);
 				return 0;
@@ -505,6 +505,9 @@
 	void CLoadPort::setIndex(unsigned int index)
 	{
 		m_nIndex = index;
+
+		std::string id = "Port" + std::to_string(index + 1);
+		m_portStatusReport.setCassetteId(id.c_str());
 	}
 
 	unsigned int CLoadPort::getIndex()

--
Gitblit v1.9.3