Exemplo n.º 1
0
 public string Action(string actionName, string actionParameters)
 {
     if (MyDriverType == 0)
     {
         return(MySSRotator.Action(actionName, actionParameters));
     }
     else
     {
         LogMessage("", "Action {0}, parameters {1} not implemented", actionName, actionParameters);
         throw new ASCOM.ActionNotImplementedException("Action " + actionName + " is not implemented by this driver");
     }
 }
Exemplo n.º 2
0
 private void button3_Click(object sender, EventArgs e)
 {
     driver.Action("Home", "");
 }