|
@@ -35,7 +35,7 @@ namespace OTSIncAReportGraph
|
|
|
private Color m_color;
|
|
|
private GraphicsPath m_GPath;
|
|
|
private Bitmap m_originalImage;
|
|
|
-
|
|
|
+ const int INVALIDPARTICLE= -1;
|
|
|
/// <summary>
|
|
|
/// 构造函数
|
|
|
/// </summary>
|
|
@@ -61,7 +61,7 @@ namespace OTSIncAReportGraph
|
|
|
foreach (Particle particle in list_particle)
|
|
|
{
|
|
|
//分布图排列图无效颗粒不显示
|
|
|
- if (particle.TypeId == -1)
|
|
|
+ if (particle.TypeId == INVALIDPARTICLE)
|
|
|
{
|
|
|
continue;
|
|
|
}
|