|
@@ -174,6 +174,7 @@ namespace OTSModelSharp.ServiceCenter
|
|
|
int nSize = a_listParticles.Count;
|
|
|
if (nSize > 1024)
|
|
|
{
|
|
|
+ NLog.LogManager.GetCurrentClassLogger().Warn("xraynum>1024");
|
|
|
COTSParticleClr[] partsTemp = new COTSParticleClr[1024];
|
|
|
Point[] PsTemp = new Point[1024];
|
|
|
|
|
@@ -192,8 +193,8 @@ namespace OTSModelSharp.ServiceCenter
|
|
|
NLog.LogManager.GetCurrentClassLogger().Error("GetXRayByPoints: failed to get element.");
|
|
|
return false;
|
|
|
}
|
|
|
+ NLog.LogManager.GetCurrentClassLogger().Warn("1024 batch succeed");
|
|
|
|
|
|
-
|
|
|
}
|
|
|
|
|
|
int nLast = nSize % 1024;
|