소스 검색

处理报告程序中分布图驱动位置失效问题

shiyanshi 4 년 전
부모
커밋
cd5ed56868

+ 1 - 1
Bin/x64/Debug/Config/SysData/OTSProgMgrParam.pmf

@@ -6,7 +6,7 @@
     <Member RegName="IncArea" end="100" start="5" />
     <Member RegName="ParticleGray" end="150" start="0" />
   </Member>
-  <Member RegName="ImageScanParam" FieldAreaPercentage="0" FieldLargeParticlePercentage="0" FieldLargeParticles="0" FieldSmallParticlePercentage="0" FieldSmallParticles="0" FieldStopMode="0" ImagePixelSize="1" SatrtImageMode="0" ScanImageSpeed="0" StopMode="0" StopParamFields="200" StopParamMeasTime="360" StopParamParticles="5000" />
+  <Member RegName="ImageScanParam" FieldAreaPercentage="0" FieldLargeParticlePercentage="0" FieldLargeParticles="0" FieldSmallParticlePercentage="0" FieldSmallParticles="0" FieldStopMode="0" ImagePixelSize="2" SatrtImageMode="0" ScanImageSpeed="0" StopMode="0" StopParamFields="200" StopParamMeasTime="360" StopParamParticles="5000" />
   <Member RegName="StageData" MinMag="45" scanFieldSize="1970" xAxisDir="1" yAxisDir="0">
     <Member RegName="XAxis" end="100000" start="-10000" />
     <Member RegName="YAxis" end="100000" start="-10000" />

+ 4 - 3
OTSIncAReportApp/Control_Graph/Controls/Control_DrawDistrbutionImageAndBSE.cs

@@ -230,12 +230,13 @@ namespace OTSIncAReportGraph.Controls
 
             //初始化底层操作类
             m_OTSIncAReportFun = new OTSIncAReportFun(this, resultFile);
-
+            
             InitializeComponent();
             #region 国际化语言
             Language lan = new Language(this);
             table = lan.GetNameTable(this.Name);
             #endregion
+
         }
 
         private void Control_DrawDistrbutionImageAndBSE_Load(object sender, EventArgs e)
@@ -1390,8 +1391,8 @@ namespace OTSIncAReportGraph.Controls
                 //第二步,移动到指定位置,先读取再设置
                 if (m_OTSIncAReportFun.m_SEMConnectionState == true)
                 {
-                    //m_OTSIncAReportFun.MoveSemToPointXY_ForDrawDistrbutionImageAndBSE(sem_point.X, sem_point.Y);
-                    bool MoveFlag=m_OTSIncAReportFun.m_cfun.SetSemPositionXY(sem_point.X, sem_point.Y, 0);
+                    m_OTSIncAReportFun.MoveSemToPointXY_ForDrawDistrbutionImageAndBSE(sem_point.X, sem_point.Y);
+                   // bool MoveFlag= m_OTSIncAReportGridsFun.m_cfun.SetSemPositionXY(sem_point.X, sem_point.Y, 0);
                 }
 
                 Thread.Sleep(500);

+ 2 - 2
OTSIncAReportApp/Control_Graph/OTSIncAReportGraphFuncation/OTSIncAReportFun.cs

@@ -561,7 +561,7 @@ namespace OTSIncAReportGraph.OTSIncAReportGraphFuncation
             string str23 = "准备释放DLL";
             str23 = table["str23"].ToString();
             log.Trace("(DisConnectSEM_ForDrawDistrbutionImageAndBSE)" + str23);
-            m_cfun.FreeHardware();
+            //m_cfun.FreeHardware();
 
             m_SEMConnectionState = false;
         }
@@ -595,7 +595,7 @@ namespace OTSIncAReportGraph.OTSIncAReportGraphFuncation
         {
             //第一步,连接电镜
             Connection_ForDrawDistrbutionImageAndBSE();
-
+            
             //第二步,移动到指定位置,先读取再设置
             if (m_SEMConnectionState == true)
             {