286 Commits

Author SHA1 Message Date
ColinD fdeee5b822 Unit tests for slewing 2019-07-17 22:58:53 +01:00
ColinD 325e9908a7 Unit testing for UTCDate 2019-07-17 14:42:28 +01:00
ColinD b3b1d95cda Unit tests for Tracking property 2019-07-16 23:33:53 +01:00
ColinD bfb8f257a1 Unit tests for TargetRightAscension 2019-07-16 23:22:41 +01:00
ColinD 0ac7b8b7bd Unit tests for TargetDeclination 2019-07-16 22:03:56 +01:00
ColinD ee60613a95 More unit testing 2019-07-15 00:16:08 +01:00
ColinD 34a145765b More unit testing
Fixed issue when setting site latitude to negative value.
2019-07-14 21:47:02 +01:00
ColinD 5f5d819f3b More unit tests added 2019-07-14 17:12:56 +01:00
ColinD 8980c3c6b5 More unit testing. Added check for to be able to support setting the alignment mode 2019-07-13 20:02:06 +01:00
ColinD bfde58c6af Lots more unit tests, and some refactoring to make the code follow SOLID better. 2019-07-13 19:27:51 +01:00
ColinD 64b949551e More unit testing, this time for pulse guiding support 2019-07-13 16:27:47 +01:00
ColinD bd49a86866 Refactor all LogMessage commands via LogMessage Method instead of directory to dependent class 2019-07-13 16:15:58 +01:00
ColinD 8089e8d536 More unit testing and associated refactoring 2019-07-13 16:00:08 +01:00
ColinD 3162827396 Site no longer set to site 1 on connect. 2019-07-13 15:59:50 +01:00
ColinD 02f69b54a4 Added more unit testing to the telescope driver. 2019-07-13 01:15:05 +01:00
ColinD feb69c970f Added more unit tests and refactored AstroMaths to be in a sub folder 2019-07-09 21:36:44 +01:00
ColinD 9049412acc Checked in NCrunch files needed to run unit tests properly.
Note: Run Visual Studio in Administrator mode
2019-07-09 18:06:44 +01:00
ColinD 44e02dda1d Added unit test for setup dialog. 2019-07-09 18:05:12 +01:00
ColinD c72d2c00fc Finished refactoring needed to allow unit testing. 2019-07-08 22:58:02 +01:00
ColinD 465d4cb5d9 Seperated out the non ioc init code to it's own method 2019-07-08 22:17:05 +01:00
ColinD f8cbc3fa8d Changed the initialisation order to avoid issue with ISharedResourcesWrapper being called before it's created. 2019-07-08 22:07:35 +01:00
ColinD ca3dd0e4fd Refactored code to use interrfaces in declarations, rather than concrete classes. 2019-07-08 17:30:02 +01:00
ColinD bc90049798 Switched over the Telescope and focuser to access the SharedResources via a wrapper with an interface to help with unit testing 2019-07-08 17:15:01 +01:00
ColinD a0a908d67d Fixed issue when seeing target altitude to a negative value. 2019-07-07 18:26:58 +01:00
ColinD 71bc7fd49a Fixed issue with slew to RA/Dec not applying negative declinations properly. 2019-07-07 14:52:06 +01:00
ColinD 8e1188ac49 Moved develop onto version 0.7.0.0 2019-06-08 21:01:57 +01:00
ColinD 22de5679b7 Downgraded required .net to v4.0.
Added suppoer for "Handbox" custom action
Changes how the focuser in and out functions.  Now sends multiple :F+/-# and multiple stop commands to help get over problems with the #909 missing commands.

Added support for checking for the older firmware that does not support the guiding commands, so uses guide rate slew instead.
2019-06-08 20:13:36 +01:00
ColinD 675ed08425 Modified the solution to be able to create as 32-bit install that works on 64bit windows 10. 2019-05-25 02:26:06 +01:00
ColinD 2b5b5d7188 First draft of the installer 2019-05-23 22:34:14 +01:00
ColinD 678b5f1ece Upgraded the error handling to ensure that all serial commands are executed after checking that there is a connection open. 2019-05-20 17:06:53 +01:00
ColinD 7cb50de30d Fixed problem where SlewToAltAz didn't work correctly. Now uses the RA/Dec slew for everything, and converts the values as needed. 2019-05-19 19:25:43 +01:00
ColinD d39846fa18 Added code to make sure that the scope returns values in high precision mode. 2019-05-19 00:59:21 +01:00
ColinD cf28ecc7c2 Redesigned the Altitude and Azimuth readings to use the Right Ascension and Declination co-ordinates and perform the transformation using the date and site details from the scope. This will correct the problem of the Altitude reading from the handset being incorrect. 2019-05-18 23:50:55 +01:00
ColinD cf5a6c72fe Re instated the Altitude value and ran conformance for both the telescope and focuser. 2019-05-18 00:08:07 +01:00
ColinD 85fcb8a73c Added comments for all meade commands.
Fixed the Site Lat and Long setters
2019-05-17 23:56:55 +01:00
ColinD 79a77d4e1d Merged in feature/LocalServer (pull request #5)
Feature/LocalServer

* Major refactor.  Switching over to a local server hub style driver allowing multiple programs to control the telescope at one time without the need for the POTH Hub

* Unified the setup dialog

* Implemented shared serial port, Both Telescope and Driver can connect at the same time.

* Ported the focuser implementation from the non server based version.

* Ported the telescope driver code.

* Fixed problem with # not being stripped from the returned string ends. Fixed issue with RA being returned as degress rather than hours.

* Telescope passes validation

* Added a lock around the focuser move.

* Reimplemented CommandBlind and CommandString

* Corrected version information

* Removed the Altitude support as there's a bug in the Autostar and Audiostar firmware
2019-05-17 14:21:26 +00:00