コード例 #1
0
 public async Task <TmTelecontrolResult> Execute(TmStatus tmStatus, bool overrideScript = false)
 {
     if (overrideScript)
     {
         if (!CanOverrideScript())
         {
             return(TmTelecontrolResult.ScriptError);
         }
         await _api.OverrideTelecontrolScript().ConfigureAwait(false);
     }
     return(await _api.Telecontrol(tmStatus).ConfigureAwait(false));
 }