Added left, right as sysonyms of back and forward for the handbox commands.
Added scrollup and scrolldown handbox commands as well.
This commit is contained in:
@@ -246,6 +246,10 @@ namespace Meade.net.Telescope.UnitTests
|
||||
[TestCase("down", "EK118")]
|
||||
[TestCase("back", "EK87")]
|
||||
[TestCase("forward", "EK69")]
|
||||
[TestCase("left", "EK87")]
|
||||
[TestCase("right", "EK69")]
|
||||
[TestCase("scrollup", "EK85")]
|
||||
[TestCase("scrolldown", "EK68")]
|
||||
[TestCase("?", "EK63")]
|
||||
public void Action_Handbox_WhenCalling_ThenSendsAppropriateBlindCommands(string action, string expectedString)
|
||||
{
|
||||
|
||||
@@ -249,11 +249,19 @@ namespace ASCOM.Meade.net
|
||||
SharedResourcesWrapper.SendBlind("EK118");
|
||||
break;
|
||||
case "back":
|
||||
case "left":
|
||||
SharedResourcesWrapper.SendBlind("EK87");
|
||||
break;
|
||||
case "forward":
|
||||
case "right":
|
||||
SharedResourcesWrapper.SendBlind("EK69");
|
||||
break;
|
||||
case "scrollup":
|
||||
SharedResourcesWrapper.SendBlind("EK85");
|
||||
break;
|
||||
case "scrolldown":
|
||||
SharedResourcesWrapper.SendBlind("EK68");
|
||||
break;
|
||||
case "?":
|
||||
SharedResourcesWrapper.SendBlind("EK63");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user