/** * Compares for reference equality and value equality. */ public bool equals(FundamentalParameterData rhs) { bool ivarsEqual = true; if (rhs.GetType() != this.GetType()) { return(false); } if (!(_frequency == rhs._frequency)) { ivarsEqual = false; } if (!(_frequencyRange == rhs._frequencyRange)) { ivarsEqual = false; } if (!(_effectiveRadiatedPower == rhs._effectiveRadiatedPower)) { ivarsEqual = false; } if (!(_pulseRepetitionFrequency == rhs._pulseRepetitionFrequency)) { ivarsEqual = false; } if (!(_pulseWidth == rhs._pulseWidth)) { ivarsEqual = false; } if (!(_beamAzimuthCenter == rhs._beamAzimuthCenter)) { ivarsEqual = false; } if (!(_beamAzimuthSweep == rhs._beamAzimuthSweep)) { ivarsEqual = false; } if (!(_beamElevationCenter == rhs._beamElevationCenter)) { ivarsEqual = false; } if (!(_beamElevationSweep == rhs._beamElevationSweep)) { ivarsEqual = false; } if (!(_beamSweepSync == rhs._beamSweepSync)) { ivarsEqual = false; } return(ivarsEqual); }
///<summary> ///Fundamental parameter data such as frequency range, beam sweep, etc. ///</summary> public void setFundamentalParameterData(FundamentalParameterData pFundamentalParameterData) { _fundamentalParameterData = pFundamentalParameterData; }
/** * Compares for reference equality and value equality. */ public bool equals(FundamentalParameterData rhs) { bool ivarsEqual = true; if(rhs.GetType() != this.GetType()) return false; if( ! (_frequency == rhs._frequency)) ivarsEqual = false; if( ! (_frequencyRange == rhs._frequencyRange)) ivarsEqual = false; if( ! (_effectiveRadiatedPower == rhs._effectiveRadiatedPower)) ivarsEqual = false; if( ! (_pulseRepetitionFrequency == rhs._pulseRepetitionFrequency)) ivarsEqual = false; if( ! (_pulseWidth == rhs._pulseWidth)) ivarsEqual = false; if( ! (_beamAzimuthCenter == rhs._beamAzimuthCenter)) ivarsEqual = false; if( ! (_beamAzimuthSweep == rhs._beamAzimuthSweep)) ivarsEqual = false; if( ! (_beamElevationCenter == rhs._beamElevationCenter)) ivarsEqual = false; if( ! (_beamElevationSweep == rhs._beamElevationSweep)) ivarsEqual = false; if( ! (_beamSweepSync == rhs._beamSweepSync)) ivarsEqual = false; return ivarsEqual; }