public void ManualDown(int pos_index) { // ---------------------------------------------------- // 至下点 bool isOver = false; while (!isOver) { isOver = ManualZ_TO(loadPoints[pos_index].Z, 1); // 下点 if (!drawOnly) { isOver &= ABTask.Z_TO_MANUAL(true, ABTask.loadPoints[pos_index].Z, ABTask.zSpeed); } Thread.Sleep(10); } }
public void ManualUp() { // ---------------------------------------------------- // 至上点 bool isOver = false; while (!isOver) { isOver = ManualZ_TO(zeroPos.Z, 1); // 上点 if (!drawOnly) { isOver &= ABTask.Z_TO_MANUAL(true, ABTask.zeroPos.Z, ABTask.zSpeed); } Thread.Sleep(10); } }