Added support for RCX400 using newer pulse guiding commands.

Refactored the connect set to be a little less cluttered.
This commit is contained in:
2022-07-16 14:17:39 +01:00
parent aff44494bc
commit 5f75916116
3 changed files with 58 additions and 38 deletions
@@ -638,7 +638,8 @@ namespace Meade.net.Telescope.UnitTests
[TestCase("Auto", ":GVP", "", false)] //LX200 Classic
[TestCase("Guide Rate Slew", "LX2001", "", false)] //force old style
[TestCase("Pulse Guiding", ":GVP", "", true)] //force new style
[TestCase("Auto", "RCX400", "2.1i", false)] //don't what the real minimum firmware is.
[TestCase("Auto", "RCX400", "2.2i", true)]
public void IsNewPulseGuidingSupported_ThenIsSupported_ThenReturnsTrue(string guidingStyle, string productName, string firmware, bool isSupported)
{
_profileProperties.GuidingStyle = guidingStyle;