Пример #1
0
 public string Action(string actionName, string actionParameters)
 {
     if (MyDriverType == 0)
     {
         return(MySSCamera.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");
     }
 }
Пример #2
0
 public string Action(string actionName, string actionParameters)
 {
     CheckConnected();
     return(m_camera.Action(actionName, actionParameters));
 }