예제 #1
0
 public void Unkeyify()
 {
     PositiveSequence.Unkeyify();
     NegativeSequence.Unkeyify();
     ZeroSequence.Unkeyify();
     PhaseA.Unkeyify();
     PhaseB.Unkeyify();
     PhaseC.Unkeyify();
     MeasurementIsIncludedKey = "Undefined";
 }
예제 #2
0
 public void Keyify(string rootKey)
 {
     PositiveSequence.Keyify($"{rootKey}.+");
     NegativeSequence.Keyify($"{rootKey}.-");
     ZeroSequence.Keyify($"{rootKey}.0");
     PhaseA.Keyify($"{rootKey}.A");
     PhaseB.Keyify($"{rootKey}.B");
     PhaseC.Keyify($"{rootKey}.C");
     KeyifyValidationFlag(rootKey);
 }
        /// <summary>
        /// Performs a deep copy of the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> object.
        /// </summary>
        /// <returns>A deep copy of the target <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/>.</returns>
        public CurrentInjectionPhasorGroup Copy()
        {
            CurrentInjectionPhasorGroup copy = (CurrentInjectionPhasorGroup)this.MemberwiseClone();

            copy.Status           = this.Status.Copy();
            copy.PositiveSequence = PositiveSequence.Copy();
            copy.PhaseA           = PhaseA.Copy();
            copy.PhaseB           = PhaseB.Copy();
            copy.PhaseC           = PhaseC.Copy();
            return(copy);
        }
예제 #4
0
        /// <summary>
        /// Performs a deep copy of the <see cref="VoltagePhasorGroup"/> object.
        /// </summary>
        /// <returns>A deep copy of the target <see cref="VoltagePhasorGroup"/>.</returns>
        public VoltagePhasorGroup Copy()
        {
            VoltagePhasorGroup copy = (VoltagePhasorGroup)this.MemberwiseClone();

            copy.Status           = this.Status.Copy();
            copy.PositiveSequence = PositiveSequence.Copy();
            copy.PhaseA           = PhaseA.Copy();
            copy.PhaseB           = PhaseB.Copy();
            copy.PhaseC           = PhaseC.Copy();
            return(copy);
        }