From bc7f1c4e028e69be51079b59dae4ae5c4d43f5bb Mon Sep 17 00:00:00 2001
From: chenluhua1980 <Chenluhua@qq.com>
Date: 星期六, 31 一月 2026 21:54:56 +0800
Subject: [PATCH] 1.状态指示图,目前灰色表示掉线,绿色表示在线。增加Slot的小点表示有没有料,及加工状态 。 2.增加图示

---
 SourceCode/Bond/BondEq/FileManager/IOManager.cpp |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/BondEq/FileManager/IOManager.cpp b/SourceCode/Bond/BondEq/FileManager/IOManager.cpp
index b02088d..1884bda 100644
--- a/SourceCode/Bond/BondEq/FileManager/IOManager.cpp
+++ b/SourceCode/Bond/BondEq/FileManager/IOManager.cpp
@@ -15,7 +15,9 @@
 	m_machines[machineName] = data;
 }
 
+
 void IOManager::addDefaultMachineData(const std::string& machineName) {
+	/*
 	if (machineName == "Cavity") {
 		std::vector<IOData> defaultData = {
 			{"X1000", "Unit1_急停 EMO", "Y1010", "Unit1_四色灯-红"},
@@ -324,6 +326,7 @@
 		};
 		m_machines[machineName] = defaultData;
 	}
+	*/
 }
 
 void IOManager::saveToFile(const std::string& machineName) {
@@ -356,6 +359,10 @@
 		IOData entry;
 		size_t pos = 0;
 		pos = line.find(",");
+
+		entry.bInputStates = FALSE;
+		entry.bOutputStates = FALSE;
+
 		entry.inputAddress = line.substr(0, pos);
 		line.erase(0, pos + 1);
 

--
Gitblit v1.9.3