Example #1
0
    private void RELAXB_DOING()
    {
        // ----------------------------------------------------
        // 至下点
        bool isOver = false;

        while (!isOver)
        {
            isOver = Z_TO(loadPoints[currTask.AB_TASK_B].Z, 1);       // 下点
            if (!drawOnly)
            {
                isOver = ABTask.Z_TO(true, ABTask.loadPoints[currTask.AB_TASK_B].Z, ABTask.zSpeed);
            }
            Thread.Sleep(10);
            int b = currTask.AB_TASK_A;
        }
        //
        isOver = false;
        while (!isOver)
        {
            isOver = CLAMP_RELAX_DO();       // 松开
            if (!drawOnly)
            {
                isOver = ABTask.CLAMP_RELAX_DO();
            }
            Thread.Sleep(10);
        }
    }
Example #2
0
 public void ManualClampRelax()
 {
     //
     bool isOver = false;
     while (!isOver)
     {
         //isOver = CLAMP_RELAX_DO();       // 松开
         if (!drawOnly)
         {
             isOver &= ABTask.CLAMP_RELAX_DO();
         }
         Thread.Sleep(10);
     }
 }
Example #3
0
 private void PRE_A_DOING()
 {
     bool isOver = false;
     // ----------------------------------------------------
     // 松夹爪
     while (!isOver)
     {
         isOver = CLAMP_RELAX_DO();// 松开
         if (!drawOnly)
         {
             isOver &= ABTask.CLAMP_RELAX_DO();
         }
         Thread.Sleep(10);
     }
     PRE_DOING(currTask.AB_TASK_A);
 }