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