Exemple #1
0
 public void Move(float Position)
 {
     if (MyDriverType == 0)
     {
         MySSRotator.Move(Position);
     }
     else
     {
         tl.LogMessage("Move", Position.ToString());                                               // Move by this amount
         rotatorPosition += Position;
         rotatorPosition  = (float)astroUtilities.Range(rotatorPosition, 0.0, true, 360.0, false); // Ensure value is in the range 0.0..359.9999...
     }
 }
 private void button1_Click(object sender, EventArgs e)
 {
     // CW button
     driver.Move(stepsize);
 }