示例#1
0
 /// <summary>Returns the struct with default values set.</summary>
 /// <returns>The struct with default values set.</returns>
 public static AcpConfiguration GetDefault()
 {
     return(new AcpConfiguration
     {
         PowerUnits = RFmxSpecAnMXAcpPowerUnits.dBm,
         AveragingEnabled = RFmxSpecAnMXAcpAveragingEnabled.False,
         AveragingCount = 10,
         AveragingType = RFmxSpecAnMXAcpAveragingType.Rms,
         FftWindow = RFmxSpecAnMXAcpFftWindow.FlatTop,
         FftPadding = -1,
         RbwAuto = RFmxSpecAnMXAcpRbwAutoBandwidth.True,
         Rbw_Hz = 10e3,
         RbwFilterType = RFmxSpecAnMXAcpRbwFilterType.Gaussian,
         SweepTimeAuto = RFmxSpecAnMXAcpSweepTimeAuto.True,
         SweepTimeInterval_s = 1e-3,
         ComponentCarrierConfiguration = new AcpComponentCarrierConfiguration[] { AcpComponentCarrierConfiguration.GetDefault() },
         OffsetChannelConfiguration = new AcpOffsetChannelConfiguration[] { AcpOffsetChannelConfiguration.GetDefault() }
     });
 }