From c6e24163c3c852b4ac3e45d100b9253b3db0e182 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期五, 15 八月 2025 16:59:00 +0800
Subject: [PATCH] 1. 保存数据优化,提取公共区域,方便后期修改和扩展
---
EdgeInspector_App/Data/Glass_Data.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/EdgeInspector_App/Data/Glass_Data.cpp b/EdgeInspector_App/Data/Glass_Data.cpp
index 22cb525..7658bbb 100644
--- a/EdgeInspector_App/Data/Glass_Data.cpp
+++ b/EdgeInspector_App/Data/Glass_Data.cpp
@@ -1,4 +1,4 @@
-// Glass.cpp: implementation of the CGlass class.
+锘�// Glass.cpp: implementation of the CGlass class.
//
//////////////////////////////////////////////////////////////////////
@@ -185,15 +185,15 @@
arrString.clear();
CString strData = strDataInput;
- strData.Trim(); //??3y??óD????μ??é??
+ strData.Trim(); //??3y??贸D????渭??茅??
if (strData.IsEmpty()) {
return TRUE;
}
- if (-1 == strData.Find(strSign)) { //2?°üo?·???·?
+ if (-1 == strData.Find(strSign)) { //2?掳眉o?路???路?
arrString.push_back(strData);
return TRUE;
}
- while (0 == strData.Find(strSign)) { //?-?·é?3yê×??é?μ?·???·?
+ while (0 == strData.Find(strSign)) { //?-?路茅?3y锚脳??茅?渭?路???路?
strData.Delete(0, strSign.GetLength());
}
strData += strSign;
--
Gitblit v1.9.3