From 0bb6cce56ffdab122ff41ccaafda74550d25461f Mon Sep 17 00:00:00 2001 From: "DESKTOP-450PEFP\\mainc" Date: Sat, 28 Feb 2026 09:10:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E8=A7=86=E8=A7=A3=E9=87=8A=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=A4=9A=E7=BB=93=E8=AE=BA=EF=BC=8CQMyCustomPlot,?= =?UTF-8?q?=E8=AE=BE=E7=BD=AEuuid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logPlus/formdraw.cpp | 11 +++++++++++ logPlus/qmycustomplot.cpp | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/logPlus/formdraw.cpp b/logPlus/formdraw.cpp index 07123ae..79808d5 100644 --- a/logPlus/formdraw.cpp +++ b/logPlus/formdraw.cpp @@ -3554,6 +3554,17 @@ bool FormDraw::LoadFromSLF_Result(QMyCustomPlot *widget, QString strSlfName, QSt pGroup->addResultToPlot(-m_Result->EndDepth, -m_Result->MDepth1, result1, strUuid); } } + + if (result2 != "") + { + if (m_Result->MDepth3 != 0) + { + pGroup->addResultToPlot(-m_Result->MDepth3, -m_Result->MDepth2, result2, strUuid); + } + else { + pGroup->addResultToPlot(-m_Result->EndDepth, -m_Result->MDepth2, result2, strUuid); + } + } continue; // strUuid = ""; diff --git a/logPlus/qmycustomplot.cpp b/logPlus/qmycustomplot.cpp index d155f11..ddf671e 100644 --- a/logPlus/qmycustomplot.cpp +++ b/logPlus/qmycustomplot.cpp @@ -112,7 +112,7 @@ QMyCustomPlot::QMyCustomPlot(QWidget *parent, QString strSlfName, QString strWel void QMyCustomPlot::initGeometry(QString strUuid, int nscale, int nW) { - this->m_strUuid = m_strUuid; + this->m_strUuid = strUuid; double dHight = (m_iY2 - m_iY1)*100.0 / (double)nscale * g_dPixelPerCm; if (g_iShow == 1)