private void CLAMPA_DOING() { // ---------------------------------------------------- // 至下点 bool isOver = false; while (!isOver) { isOver = Z_TO(loadPoints[currTask.AB_TASK_A].Z, 1); // 下点 if (!drawOnly) { isOver = ABTask.Z_TO(true, ABTask.loadPoints[currTask.AB_TASK_A].Z, ABTask.zSpeed); } Thread.Sleep(10); } // isOver = false; while (!isOver) { isOver = CLAMP_DO(); // 夹紧 if (!drawOnly) { isOver = ABTask.CLAMP_DO(); } Thread.Sleep(10); } }
public void ManualClamp() { // bool isOver = false; while (!isOver) { //isOver = CLAMP_DO(); // 夹紧 if (!drawOnly) { isOver &= ABTask.CLAMP_DO(); } Thread.Sleep(10); } }