コード例 #1
0
ファイル: SCBController.cs プロジェクト: icprog/SCBEmulator
 public void OTCAMove(int step)
 {
     if (isPowerOn && otcBtn.ARelBtn)
     {
         if (step >= 0)
         {
             for (int i = 0; i < step; i++)
             {
                 otcxyz.AStepUp();
             }
         }
         else
         {
             for (int i = 0; i < -step; i++)
             {
                 otcxyz.AStepDown();
             }
         }
     }
 }
コード例 #2
0
 private void button9_Click(object sender, EventArgs e)
 {
     otcxyz.AStepUp();
     RefreshData();
 }