Added support for reading Declination

This commit is contained in:
2019-05-02 16:12:53 +01:00
parent c0c0bedbba
commit ae4ba48ce2
4 changed files with 33 additions and 2 deletions
@@ -320,7 +320,22 @@ namespace ASCOM.MeadeAutostar497.Controller
return az;
}
}
}
public double Declination
{
get
{
var result = SerialPort.CommandTerminated(":GD#", "#");
//:GD# Get Telescope Declination.
//Returns: sDD* MM# or sDD*MMSS#
//Depending upon the current precision setting for the telescope.
double az = DMSToDouble(result);
return az;
}
}
public void AbortSlew()
{