浏览代码

修复标准库为空未识别颗粒种类显示错误的bug

CXS 3 年之前
父节点
当前提交
d92055d2bd
共有 2 个文件被更改,包括 1 次插入0 次删除
  1. 二进制
      Bin/x64/Debug/Config/Simulate/SimImage.bmp
  2. 1 0
      OTSIncAMeasureApp/0-OTSModel/Measure/GetBSEPic/COTSFieldData.cs

二进制
Bin/x64/Debug/Config/Simulate/SimImage.bmp


+ 1 - 0
OTSIncAMeasureApp/0-OTSModel/Measure/GetBSEPic/COTSFieldData.cs

@@ -174,6 +174,7 @@ namespace OTSModelSharp
                 }
                 // add the particle into the output particles list
                 pParticle.SetType((int)otsdataconst.OTS_PARTCLE_TYPE.NO_ANALYSIS_X_RAY);
+                pParticle.SetTypeName("Not Identified");
                 pParticle.SetAnalysisId(nAnalysisPartId);
                 m_listAnalysisParticles.Add(pParticle);
                 ++nAnalysisPartId;