Exemplo n.º 1
0
 /// <summary>
 /// Updates the values for the Voltage of the given phase
 /// </summary>
 /// <param name="thisPhase"></param>
 /// <param name="thisMagnitude"></param>
 /// <param name="thisAngle"></param>
 public void SetValues(SinglePhaseType thisPhase, double thisMagnitude, double thisAngle)
 {
     phaseVoltages[thisPhase].Magnitude = thisMagnitude;
     phaseVoltages[thisPhase].Angle = thisAngle;
 }
Exemplo n.º 2
0
 public Voltage(Voltages thisParent, SinglePhaseType thisPhase) 
 {
     this.phase = thisPhase;
     this.parent = thisParent;  
 }