Checked and removed completed todo tasks
This commit is contained in:
@@ -26,7 +26,7 @@ namespace ASCOM.Meade.net
|
||||
// The ClassInterface/None addribute prevents an empty interface called
|
||||
// _Meade.net from being created and used as the [default] interface
|
||||
//
|
||||
// TODO Replace the not implemented exceptions with code to implement the function or
|
||||
// Replace the not implemented exceptions with code to implement the function or
|
||||
// throw the appropriate ASCOM exception.
|
||||
//
|
||||
|
||||
@@ -840,9 +840,7 @@ namespace ASCOM.Meade.net
|
||||
if (!FirmwareIsGreaterThan(TelescopeList.Autostar497_43Eg))
|
||||
throw new PropertyNotImplementedException("AlignmentMode",true );
|
||||
|
||||
//todo make this only try with Autostar 43Eg and above.
|
||||
|
||||
switch (value)
|
||||
switch (value)
|
||||
{
|
||||
case AlignmentModes.algAltAz:
|
||||
_sharedResourcesWrapper.SendBlind("#:AA#");
|
||||
@@ -1468,7 +1466,7 @@ namespace ASCOM.Meade.net
|
||||
//passed in the command.These commands support serial port driven guiding.
|
||||
//Returns – Nothing
|
||||
//LX200 – Not Supported
|
||||
_utilities.WaitForMilliseconds(duration); //todo figure out if this is really needed
|
||||
_utilities.WaitForMilliseconds(duration);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1741,65 +1739,7 @@ namespace ASCOM.Meade.net
|
||||
_utilities.WaitForMilliseconds(200); //be responsive to AbortSlew();
|
||||
}
|
||||
}
|
||||
|
||||
//private double TargetAltitude
|
||||
//{
|
||||
// set
|
||||
// {
|
||||
// if (value > 90)
|
||||
// throw new InvalidValueException("Altitude cannot be greater than 90.");
|
||||
|
||||
// if (value < 0)
|
||||
// throw new InvalidValueException("Altitide cannot be less than 0.");
|
||||
|
||||
// CheckConnected("TargetAltitude Set");
|
||||
|
||||
// //todo this serial string does not work. Calculate the EQ version instead.
|
||||
|
||||
// var dms = _utilities.DegreesToDMS(value, "*", "'", "",0);
|
||||
// var s = value < 0 ? string.Empty : "+";
|
||||
|
||||
// var result = _sharedResourcesWrapper.SendChar($"#:Sa{s}{dms}#");
|
||||
// //:SasDD*MM#
|
||||
// //Set target object altitude to sDD*MM# or sDD*MM’SS# [LX 16”, Autostar, Autostar II]
|
||||
// //Returns:
|
||||
// //1 Object within slew range
|
||||
// //0 Object out of slew range
|
||||
|
||||
// if (result == "0")
|
||||
// throw new InvalidOperationException("Target altitude out of slew range");
|
||||
// }
|
||||
//}
|
||||
|
||||
//private double TargetAzimuth
|
||||
//{
|
||||
// set
|
||||
// {
|
||||
// if (value >= 360)
|
||||
// throw new InvalidValueException("Azimuth cannot be 360 or higher.");
|
||||
|
||||
// if (value < 0)
|
||||
// throw new InvalidValueException("Azimuth cannot be less than 0.");
|
||||
|
||||
// CheckConnected("TargetAzimuth Set");
|
||||
|
||||
// //todo this serial string does not work. Calculate the EQ version instead.
|
||||
|
||||
// var dms = _utilitiesExtra.DegreesToDM(value, "*" );
|
||||
|
||||
// var result = _sharedResourcesWrapper.SendChar($"#:Sz{dms}#");
|
||||
// //:SzDDD*MM#
|
||||
// //Sets the target Object Azimuth[LX 16” and Autostar II only]
|
||||
// //Returns:
|
||||
// //0 – Invalid
|
||||
// //1 - Valid
|
||||
|
||||
// if (result == "0")
|
||||
// throw new InvalidOperationException("Target Azimuth out of slew range");
|
||||
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
public void SlewToAltAzAsync(double azimuth, double altitude)
|
||||
{
|
||||
CheckConnected("SlewToAltAzAsync");
|
||||
|
||||
Reference in New Issue
Block a user