|
@@ -523,37 +523,37 @@ namespace MeasureThread
|
|
|
|
|
|
|
|
|
|
return true;
|
|
return true;
|
|
- //模拟为客户返回的坐标值
|
|
|
|
- float x0 = 0, y0 = 0;
|
|
|
|
- SendMsg("移动到新(" + x0.ToString() + "," + y0.ToString() + ")位置失败");
|
|
|
|
|
|
+ ////模拟为客户返回的坐标值
|
|
|
|
+ //float x0 = 0, y0 = 0;
|
|
|
|
+ //SendMsg("移动到新(" + x0.ToString() + "," + y0.ToString() + ")位置失败");
|
|
|
|
|
|
- //12.根据梯形坐标控制FIB调整到中心位置
|
|
|
|
- if (!iSEM.MoveStageXY(x0, y0))
|
|
|
|
- {
|
|
|
|
- SendMsg("移动到新(" + x0.ToString() + "," + y0.ToString() + ")位置失败");
|
|
|
|
- return false;
|
|
|
|
- }
|
|
|
|
|
|
+ ////12.根据梯形坐标控制FIB调整到中心位置
|
|
|
|
+ //if (!iSEM.MoveStageXY(x0, y0))
|
|
|
|
+ //{
|
|
|
|
+ // SendMsg("移动到新(" + x0.ToString() + "," + y0.ToString() + ")位置失败");
|
|
|
|
+ // return false;
|
|
|
|
+ //}
|
|
|
|
|
|
- //电镜移动是有一个延时的操作的?
|
|
|
|
|
|
+ ////电镜移动是有一个延时的操作的?
|
|
|
|
|
|
- //13.验证移动准确性:获取当前FIB中心位置坐标,与客户返回坐标对比,验证是否移动正确
|
|
|
|
- float x1 = iSEM.GetStageAtX();
|
|
|
|
- float y1 = iSEM.GetStageAtY();
|
|
|
|
- if (Math.Abs(x0 - x1) > fMin && Math.Abs(y0 - y1) > fMin)
|
|
|
|
- {
|
|
|
|
- SendMsg("目标位置(" + x0.ToString() + "," + y0.ToString() + ")移动失败");
|
|
|
|
- return false;
|
|
|
|
- }
|
|
|
|
|
|
+ ////13.验证移动准确性:获取当前FIB中心位置坐标,与客户返回坐标对比,验证是否移动正确
|
|
|
|
+ //float x1 = iSEM.GetStageAtX();
|
|
|
|
+ //float y1 = iSEM.GetStageAtY();
|
|
|
|
+ //if (Math.Abs(x0 - x1) > fMin && Math.Abs(y0 - y1) > fMin)
|
|
|
|
+ //{
|
|
|
|
+ // SendMsg("目标位置(" + x0.ToString() + "," + y0.ToString() + ")移动失败");
|
|
|
|
+ // return false;
|
|
|
|
+ //}
|
|
|
|
|
|
- //14.保存样品1第1号孔中心位置6轴坐标1 XYZMRT到数据库,保存客户返回值信息到数据库
|
|
|
|
- float[] firstPosition = iSEM.GetStagePosition();
|
|
|
|
- //这里要调用文件保存功能
|
|
|
|
- SendMsg("坐标1(" + firstPosition[0].ToString() + ","
|
|
|
|
- + firstPosition[1].ToString() + ","
|
|
|
|
- + firstPosition[2].ToString() + ","
|
|
|
|
- + firstPosition[3].ToString() + ","
|
|
|
|
- + firstPosition[4].ToString() + ","
|
|
|
|
- + firstPosition[5].ToString() + ")");
|
|
|
|
|
|
+ ////14.保存样品1第1号孔中心位置6轴坐标1 XYZMRT到数据库,保存客户返回值信息到数据库
|
|
|
|
+ //float[] firstPosition = iSEM.GetStagePosition();
|
|
|
|
+ ////这里要调用文件保存功能
|
|
|
|
+ //SendMsg("坐标1(" + firstPosition[0].ToString() + ","
|
|
|
|
+ // + firstPosition[1].ToString() + ","
|
|
|
|
+ // + firstPosition[2].ToString() + ","
|
|
|
|
+ // + firstPosition[3].ToString() + ","
|
|
|
|
+ // + firstPosition[4].ToString() + ","
|
|
|
|
+ // + firstPosition[5].ToString() + ")");
|
|
}
|
|
}
|
|
|
|
|
|
return false;
|
|
return false;
|