|
|
@@ -484,6 +484,8 @@ namespace OTSIncAReportGrids
|
|
|
{
|
|
|
if (ElementTypeSort[0] == "")
|
|
|
{
|
|
|
+
|
|
|
+
|
|
|
ElementTypeSort.RemoveAt(0);
|
|
|
break;
|
|
|
}
|
|
|
@@ -519,11 +521,6 @@ namespace OTSIncAReportGrids
|
|
|
Bitmap bmap = null;
|
|
|
if (subt != null && subt != "" && subt != "IsSubParticle")
|
|
|
{
|
|
|
- //double ScanFieldSize = result.GetScanFieldSizeX();
|
|
|
- //string filePatht = result.FilePath + "\\FIELD_FILES\\";
|
|
|
- //string imagePatht = filePatht + "Field" + subt.Split(',')[0].Split(':')[0].ToString() + ".bmp";
|
|
|
- //Bitmap tempbit = Particledata.ReadImageFile(imagePatht);
|
|
|
- //int pixw = tempbit.Width;
|
|
|
double xs = result.GetPixelSize();
|
|
|
int width = result.GetImageWidth();
|
|
|
int height = result.GetImageHeight();
|
|
|
@@ -531,7 +528,7 @@ namespace OTSIncAReportGrids
|
|
|
|
|
|
string vs = "," + subt.Replace(':', '-') + ",";
|
|
|
DataTable dataTable = Particledata.GetParticleAllForBig(vs);//组成拼接颗粒的子颗粒
|
|
|
- bmap = fldImgAccess.GetBitmapForMergedParticle(subt, xs, result.FilePath, height, width);
|
|
|
+ bmap = fldImgAccess.GetBitmapForMergedParticle(subt, xs, result.FilePath, height, width, dataTable);
|
|
|
if (bmap != null)
|
|
|
{
|
|
|
string[] str = subt.Split(',');
|