/// <summary> /// Performs a deep copy of the <see cref="LinearStateEstimator.Measurements.PhasorMeasurement"/>. /// </summary> /// <returns>A deep copy of the target <see cref="LinearStateEstimator.Measurements.PhasorMeasurement"/>.</returns> public new PhasorMeasurement DeepCopy() { PhasorMeasurement copy = (PhasorMeasurement)this.MemberwiseClone(); copy.BaseKV = BaseKV.DeepCopy(); copy.Type = Type; return(copy); }
/// <summary> /// Performs a deep copy of the <see cref="LinearStateEstimator.Measurements.PhasorEstimate"/> object. /// </summary> /// <returns>A deep copy of the target <see cref="LinearStateEstimator.Measurements.PhasorEstimate"/> object.</returns> public PhasorEstimate Copy() { PhasorEstimate copy = (PhasorEstimate)this.MemberwiseClone(); copy.BaseKV = BaseKV.DeepCopy(); copy.Type = Type; return(copy); }