Added long enter and goto commands.

This commit is contained in:
2022-07-15 21:08:54 +01:00
parent 78e686b3cb
commit aff44494bc
2 changed files with 8 additions and 1 deletions
@@ -233,6 +233,8 @@ namespace Meade.net.Telescope.UnitTests
[TestCase("enter", "EK13")] [TestCase("enter", "EK13")]
[TestCase("mode", "EK9")] [TestCase("mode", "EK9")]
[TestCase("longMode", "EK11")] [TestCase("longMode", "EK11")]
[TestCase("longenter", "EK10")]
[TestCase("longgoto", "EK25")]
[TestCase("goto", "EK24")] [TestCase("goto", "EK24")]
[TestCase("0", "EK48")] [TestCase("0", "EK48")]
[TestCase("1", "EK49")] [TestCase("1", "EK49")]
+6 -1
View File
@@ -220,6 +220,9 @@ namespace ASCOM.Meade.net
case "enter": case "enter":
SharedResourcesWrapper.SendBlind("EK13"); SharedResourcesWrapper.SendBlind("EK13");
break; break;
case "longenter":
SharedResourcesWrapper.SendBlind("EK10");
break;
case "mode": case "mode":
SharedResourcesWrapper.SendBlind("EK9"); SharedResourcesWrapper.SendBlind("EK9");
break; break;
@@ -229,7 +232,9 @@ namespace ASCOM.Meade.net
case "goto": case "goto":
SharedResourcesWrapper.SendBlind("EK24"); SharedResourcesWrapper.SendBlind("EK24");
break; break;
case "longgoto":
SharedResourcesWrapper.SendBlind("EK25");
break;
case "0": //light and 0 case "0": //light and 0
SharedResourcesWrapper.SendBlind("EK48"); SharedResourcesWrapper.SendBlind("EK48");
break; break;