Beispiel #1
0
 public void OTCBMove(int step)
 {
     if (isPowerOn && otcBtn.BRelBtn)
     {
         if (step >= 0)
         {
             for (int i = 0; i < step; i++)
             {
                 otcxyz.BStepUp();
             }
         }
         else
         {
             for (int i = 0; i < -step; i++)
             {
                 otcxyz.BStepDown();
             }
         }
     }
 }
Beispiel #2
0
 private void button12_Click(object sender, EventArgs e)
 {
     otcxyz.BStepDown();
     RefreshData();
 }