예제 #1
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));
 }
예제 #2
0
 /// <summary>
 /// Checks if a parameter is set on a MicrowaveLinkQuality object
 /// </summary>
 /// <param name="linkQuality">LQ to check</param>
 /// <param name="parameter">parameter to check</param>
 /// <returns>true if the specified parameter is set, false otherwise</returns>
 public static bool IsSet(this MicrowaveLinkQuality linkQuality, MicrowaveLinkQuality.Parameters parameter)
 {
     return(MicrowaveLinkQuality.IsParameterValid(linkQuality.ValidParameterData, parameter));
 }