Added support for MoveAxis
This commit is contained in:
@@ -99,11 +99,13 @@ namespace ASCOM.MeadeAutostar497
|
||||
case TelescopeAxes.axisPrimary:
|
||||
// TODO Initialize this array with any Primary axis rates that your driver may provide
|
||||
// Example: m_Rates = new Rate[] { new Rate(10.5, 30.2), new Rate(54.0, 43.6) }
|
||||
this.rates = new Rate[0];
|
||||
//this.rates = new Rate[0];
|
||||
this.rates = new Rate[] {new Rate(1, 1), new Rate(2, 2), new Rate(3, 3), new Rate(4, 4)};
|
||||
break;
|
||||
case TelescopeAxes.axisSecondary:
|
||||
// TODO Initialize this array with any Secondary axis rates that your driver may provide
|
||||
this.rates = new Rate[0];
|
||||
//this.rates = new Rate[0];
|
||||
this.rates = new Rate[] { new Rate(1, 1), new Rate(2, 2), new Rate(3, 3), new Rate(4, 4) };
|
||||
break;
|
||||
case TelescopeAxes.axisTertiary:
|
||||
// TODO Initialize this array with any Tertiary axis rates that your driver may provide
|
||||
|
||||
@@ -633,8 +633,8 @@ namespace ASCOM.MeadeAutostar497
|
||||
|
||||
public void MoveAxis(TelescopeAxes Axis, double Rate)
|
||||
{
|
||||
tl.LogMessage("MoveAxis", "Not implemented");
|
||||
throw new ASCOM.MethodNotImplementedException("MoveAxis");
|
||||
tl.LogMessage("MoveAxis", $"Axis={Axis} rate={Rate}");
|
||||
_telescopeController.MoveAxis(Axis, Rate);
|
||||
}
|
||||
|
||||
public void Park()
|
||||
|
||||
Reference in New Issue
Block a user