|
@@ -466,7 +466,13 @@ namespace OTSModelSharp
|
|
|
}
|
|
|
}
|
|
|
log.Info("Begin to move SEM stage to " + a_SEMpt.X + "," + a_SEMpt.Y);
|
|
|
-
|
|
|
+ CSampleParam pMsrParam = m_Sample.GetMsrParams();
|
|
|
+ if (pMsrParam.SlopParam.IsUsingSlopParam)
|
|
|
+ {
|
|
|
+ double wd = pMsrParam.SlopParam.GetWD(a_SEMpt);
|
|
|
+
|
|
|
+ pSEMController.SetWorkingDistance(wd);
|
|
|
+ }
|
|
|
// move SEM to the position (rotation 0)
|
|
|
if (!pSEMController.MoveSEMToPoint(a_SEMpt))
|
|
|
{
|