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("分析结果:OUT1: %.3f, OUT2: %.3f, OUT3: %.3f, OUT4: %.3f"), result[0], result[1], result[2], result[3]); return result;