Ejemplo n.º 1
0
 /// <summary>
 /// Checks if a MicrowaveTuning parameter is set on MicrowaveCapabilities.SupportedTuningParameters property
 /// </summary>
 /// <param name="caps">capabilities to check</param>
 /// <param name="tuningParameter">tuning parameter to check for</param>
 /// <returns>true if set in MicrowaveCapabilities.SupportedTuningParameters, false otherwise</returns>
 public static bool IsSet(this MicrowaveCapabilities caps, MicrowaveTuning.Parameters tuningParameter)
 {
     return(MicrowaveTuning.IsParameterValid(caps.SupportedTuningParameters, tuningParameter));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Checks if a MicrowaveLinkQuality parameter is set on MicrowaveCapabilities.SupportedLinkQualityParameters property
 /// </summary>
 /// <param name="caps">capabilities to check</param>
 /// <param name="linkQualityParameter">link quality parameter to check for</param>
 /// <returns>true if set in MicrowaveCapabilities.SupportedLinkQualityParameters, false otherwise</returns>
 public static bool IsSet(this MicrowaveCapabilities caps, MicrowaveLinkQuality.Parameters linkQualityParameter)
 {
     return(MicrowaveLinkQuality.IsParameterValid(caps.SupportedLinkQualityParameters, linkQualityParameter));
 }