From 714cfc2313c8851d6cd00058246f88aae103809d Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期五, 12 九月 2025 15:15:34 +0800
Subject: [PATCH] 1. SG精度检保存检测结果(保存到文件) 2. SG精度检字符串需要UTF-8(BOM)
---
SourceCode/Bond/SGMeasurement/SGMeasurementDlg.cpp | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/SourceCode/Bond/SGMeasurement/SGMeasurementDlg.cpp b/SourceCode/Bond/SGMeasurement/SGMeasurementDlg.cpp
index a2afe06..8e45bb2 100644
--- a/SourceCode/Bond/SGMeasurement/SGMeasurementDlg.cpp
+++ b/SourceCode/Bond/SGMeasurement/SGMeasurementDlg.cpp
@@ -1,4 +1,4 @@
-
+锘�
// SGMeasurementDlg.cpp: 瀹炵幇鏂囦欢
//
@@ -932,6 +932,10 @@
result[i] = AnalyzeStoredData(i + 1); // OUT1 ~ OUT4
}
+ std::string strProductID;
+ m_plcListener.ReadProductID(strProductID);
+ m_resultStorage.SaveAnalyzeResult(CString(strProductID.c_str()), result);
+
CString strLog;
strLog.Format(_T("鍒嗘瀽缁撴灉锛歄UT1: %.3f, OUT2: %.3f, OUT3: %.3f, OUT4: %.3f"), result[0], result[1], result[2], result[3]);
return result;
--
Gitblit v1.9.3