Exemplo n.º 1
0
 /// <summary>
 /// The designated constructor for the class.
 /// </summary>
 /// <param name="measurement">A measured phasor - <see cref="PhasorMeasurement"/>.</param>
 /// <param name="estimate">An estimated phasor - <see cref="PhasorEstimate"/>.</param>
 public Phasor(PhasorMeasurement measurement, PhasorEstimate estimate)
 {
     m_phasorMeasurement          = measurement;
     m_phasorEstimate             = estimate;
     m_magnitudeResidualOutputKey = "Undefined";
     m_angleResidualOutputKey     = "Undefined";
 }
Exemplo n.º 2
0
 /// <summary>
 /// A constructor for the <see cref="Phasor"/> class which only specifies the <see cref="PhasorMeasurement"/>.
 /// </summary>
 /// <param name="measurement"></param>
 public Phasor(PhasorMeasurement measurement)
     : this(measurement, new PhasorEstimate())
 {
 }