/// <summary> /// The designated constructor for the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> class which specifies the information required by the <see cref="SynchrophasorAnalytics.Modeling.INetworkDescribable"/> interface and the <see cref="Phasor"/> objects for +, A, B, and C, the <see cref="SynchrophasorAnalytics.Measurements.StatusWord"/> and the <see cref="SynchrophasorAnalytics.Modeling.INetworkDescribable.InternalID"/> of the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup.MeasuredConnectedNode"/>. /// </summary> /// <param name="internalID">The unique integer identifier for each instance of a <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> object.</param> /// <param name="number">A descriptive number for the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> object.</param> /// <param name="name">A descriptive name for the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> object.</param> /// <param name="description">A description of the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> object.</param> /// <param name="positiveSequence">The <see cref="Phasor"/> representing positive sequence.</param> /// <param name="phaseA">The <see cref="SynchrophasorAnalytics.Measurements.Phasor"/> representing phase A.</param> /// <param name="phaseB">The <see cref="SynchrophasorAnalytics.Measurements.Phasor"/> representing phase B.</param> /// <param name="phaseC">The <see cref="SynchrophasorAnalytics.Measurements.Phasor"/> representing phase C.</param> /// <param name="statusWord">The <see cref="SynchrophasorAnalytics.Measurements.StatusWord"/> from the source device for the <see cref="SynchrophasorAnalytics.Measurements.Phasor"/> objects in this <see cref="SynchrophasorAnalytics.Measurements.PhasorGroup"/>.</param> /// <param name="measuredConnectedNodeId">The <see cref="SynchrophasorAnalytics.Modeling.INetworkDescribable.InternalID"/> of the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup.MeasuredConnectedNode"/>.</param> /// <param name="directionConvention">Specifies whether the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> is measured <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionDirectionConvention.IntoTheShunt"/> or <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionDirectionConvention.OutOfTheShunt"/>.</param> public CurrentInjectionPhasorGroup(int internalID, int number, string name, string description, Phasor positiveSequence, Phasor phaseA, Phasor phaseB, Phasor phaseC, StatusWord statusWord, int measuredConnectedNodeId, CurrentInjectionDirectionConvention directionConvention) : base(internalID, number, name, description, positiveSequence, phaseA, phaseB, phaseC, statusWord) { m_measuredConnectedNodeId = measuredConnectedNodeId; m_measurementDirectionConvention = directionConvention; PositiveSequence.Measurement.Type = PhasorType.CurrentPhasor; PositiveSequence.Estimate.Type = PhasorType.CurrentPhasor; NegativeSequence.Measurement.Type = PhasorType.CurrentPhasor; NegativeSequence.Estimate.Type = PhasorType.CurrentPhasor; ZeroSequence.Measurement.Type = PhasorType.CurrentPhasor; ZeroSequence.Estimate.Type = PhasorType.CurrentPhasor; PhaseA.Measurement.Type = PhasorType.CurrentPhasor; PhaseA.Estimate.Type = PhasorType.CurrentPhasor; PhaseB.Measurement.Type = PhasorType.CurrentPhasor; PhaseB.Estimate.Type = PhasorType.CurrentPhasor; PhaseC.Measurement.Type = PhasorType.CurrentPhasor; PhaseC.Estimate.Type = PhasorType.CurrentPhasor; }
/// <summary> /// A constructor which specifies the information required by the <see cref="SynchrophasorAnalytics.Modeling.INetworkDescribable"/> interface and the <see cref="SynchrophasorAnalytics.Measurements.Phasor"/> objects for +, A, B, and C and the <see cref="SynchrophasorAnalytics.Modeling.INetworkDescribable.InternalID"/> of the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup.MeasuredConnectedNode"/>. /// </summary> /// <param name="internalID">The unique integer identifier for each instance of a <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> object.</param> /// <param name="number">A descriptive number for the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> object.</param> /// <param name="name">A descriptive name for the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> object.</param> /// <param name="description">A description of the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> object.</param> /// <param name="positiveSequence">The <see cref="SynchrophasorAnalytics.Measurements.Phasor"/> representing positive sequence.</param> /// <param name="phaseA">The <see cref="SynchrophasorAnalytics.Measurements.Phasor"/> representing phase A.</param> /// <param name="phaseB">The <see cref="SynchrophasorAnalytics.Measurements.Phasor"/> representing phase B.</param> /// <param name="phaseC">The <see cref="SynchrophasorAnalytics.Measurements.Phasor"/> representing phase C.</param> /// <param name="measuredConnectedNodeId">The <see cref="SynchrophasorAnalytics.Modeling.INetworkDescribable.InternalID"/> of the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup.MeasuredConnectedNode"/>.</param> /// <param name="directionConvention">Specifies whether the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> is measured <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionDirectionConvention.IntoTheShunt"/> or <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionDirectionConvention.OutOfTheShunt"/>.</param> public CurrentInjectionPhasorGroup(int internalID, int number, string name, string description, Phasor positiveSequence, Phasor phaseA, Phasor phaseB, Phasor phaseC, int measuredConnectedNodeId, CurrentInjectionDirectionConvention directionConvention) : this(internalID, number, name, description, positiveSequence, phaseA, phaseB, phaseC, new StatusWord(), measuredConnectedNodeId, directionConvention) { }
/// <summary> /// A constructor which specifies the information required by the <see cref="SynchrophasorAnalytics.Modeling.INetworkDescribable"/> interface and the <see cref="SynchrophasorAnalytics.Measurements.Phasor"/> objects for +, A, B, and C, and the <see cref="SynchrophasorAnalytics.Measurements.StatusWord"/> /// </summary> /// <param name="internalID">The unique integer identifier for each instance of a <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> object.</param> /// <param name="number">A descriptive number for the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> object.</param> /// <param name="name">A descriptive name for the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> object.</param> /// <param name="description">A description of the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> object.</param> /// <param name="positiveSequence">The <see cref="SynchrophasorAnalytics.Measurements.Phasor"/> representing positive sequence.</param> /// <param name="phaseA">The <see cref="SynchrophasorAnalytics.Measurements.Phasor"/> representing phase A.</param> /// <param name="phaseB">The <see cref="SynchrophasorAnalytics.Measurements.Phasor"/> representing phase B.</param> /// <param name="phaseC">The <see cref="SynchrophasorAnalytics.Measurements.Phasor"/> representing phase C.</param> /// <param name="statusWord">The <see cref="SynchrophasorAnalytics.Measurements.StatusWord"/> from the source device for the <see cref="SynchrophasorAnalytics.Measurements.Phasor"/> objects in this <see cref="SynchrophasorAnalytics.Measurements.PhasorGroup"/>.</param> /// <param name="directionConvention">Specifies whether the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> is measured <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionDirectionConvention.IntoTheShunt"/> or <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionDirectionConvention.OutOfTheShunt"/>.</param> public CurrentInjectionPhasorGroup(int internalID, int number, string name, string description, Phasor positiveSequence, Phasor phaseA, Phasor phaseB, Phasor phaseC, StatusWord statusWord, CurrentInjectionDirectionConvention directionConvention) : this(internalID, number, name, description, positiveSequence, phaseA, phaseB, phaseC, statusWord, 0, directionConvention) { }
/// <summary> /// A constructor which specifies only the information required by the <see cref="SynchrophasorAnalytics.Modeling.INetworkDescribable"/> interface. The <see cref="Phasor"/>, <see cref="StatusWord"/>, and <see cref="Node"/> objects are instantiated with default initializers to prevent null references. /// </summary> /// <param name="internalID">The unique integer identifier for each instance of a <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> object.</param> /// <param name="number">A descriptive number for the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> object.</param> /// <param name="name">A descriptive name for the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> object.</param> /// <param name="description">A description of the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> object.</param> /// <param name="directionConvention">Specifies whether the <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionPhasorGroup"/> is measured <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionDirectionConvention.IntoTheShunt"/> or <see cref="SynchrophasorAnalytics.Measurements.CurrentInjectionDirectionConvention.OutOfTheShunt"/>.</param> public CurrentInjectionPhasorGroup(int internalID, int number, string name, string description, CurrentInjectionDirectionConvention directionConvention) : this(internalID, number, name, description, new Phasor(), new Phasor(), new Phasor(), new Phasor(), directionConvention) { }