Telescope Control Library
Diff: LocationProvider.cpp
- Revision:
- 13:8e73db1fb342
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/LocationProvider.cpp Fri Sep 14 02:55:14 2018 -0400 @@ -0,0 +1,17 @@ +/* + * LocationCoordinates.cpp + * + * Created on: Sep 14, 2018 + * Author: caoyu + */ + +#include "LocationProvider.h" +#include "TelescopeConfiguration.h" + +double LocationProvider::getLongtitude() const { + return TelescopeConfiguration::getDouble("longitude"); +} + +double LocationProvider::getLatitude() const { + return TelescopeConfiguration::getDouble("latitude"); +}