Exemplo n.º 1
0
        public void ActivateBuildProcess(int motorruntime, bool HighSpeedMode)
        {
            if (HighSpeedMode)
            {
                Nozzel1PickSleep  = 50; //50
                Nozzel1PlaceSleep = 50;

                Nozzel2PickSleep  = 75;
                Nozzel2PlaceSleep = 75;
            }
            else
            {
                Nozzel1PickSleep  = 150; //50
                Nozzel1PlaceSleep = 150;

                Nozzel2PickSleep  = 300;
                Nozzel2PlaceSleep = 300;
            }

            kf.SetAlltoZero();
            MotorRunLoop = motorruntime;
            if (backgroundWorkerBuildPCB.IsBusy != true)
            {
                backgroundWorkerBuildPCB.RunWorkerAsync();
            }
        }
Exemplo n.º 2
0
 public void ActivateBuildProcess(int motorruntime)
 {
     kf.SetAlltoZero();
     MotorRunLoop = motorruntime;
     if (backgroundWorkerBuildPCB.IsBusy != true)
     {
         backgroundWorkerBuildPCB.RunWorkerAsync();
     }
 }