コード例 #1
0
 /// <summary>
 /// Z Axis Down
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void cmdDown_Click(object sender, object e)
 {
     try
     {
         //m_distZ *= -1.0;
         DevInterface.Move(m_distZ * -1.0d, m_rateZ); // (movecommand);
     }
     catch (Exception ex)
     {
         DebugLogger.Instance().LogRecord(ex.Message);
     }
 }
コード例 #2
0
 private void cmdMoveZ(object sender, object e)
 {
     try
     {
         double dist = (double)e;
         DevInterface.Move(dist, m_rateZ); // (movecommand);
     }
     catch (Exception ex)
     {
         DebugLogger.Instance().LogRecord(ex.Message);
     }
 }
コード例 #3
0
 private void cmdUp_Click(object sender, object e)
 {
     try
     {
         //double dist = double.Parse(txtdist.Text);
         DevInterface.Move(m_distZ, m_rateZ); // (movecommand);
     }
     catch (Exception ex)
     {
         DebugLogger.Instance().LogRecord(ex.Message);
     }
 }