/// <summary>
 /// A descriptive string representation of the <see cref="SynchrophasorAnalytics.Modeling.ShuntCompensator"/> class instance. The format is <i>Shunt,internalId,number,name,description,connectedNodeInternalId,parentSubstationInternalId,currentInjectionInternalId,nominalMvar,impedanceCalculationMethod,r1,r2,r3,r4,r5,r6,x1,x2,x3,x4,x5,x6,g1,g2,g3,g4,g5,g6,b1,b2,b3,b4,b5,b6</i> and can be used for a rudimentary momento design pattern.
 /// </summary>
 /// <returns>A string representation of the instance of the <see cref="SynchrophasorAnalytics.Modeling.ShuntCompensator"/> class.</returns>
 public override string ToString()
 {
     return("Shunt," + m_internalID.ToString() + "," + m_number.ToString() + "," + m_name + "," + m_description + "," + m_connectedNodeID.ToString() + "," + m_parentSubstationID.ToString() + "," + m_currentId.ToString() + "," + m_nominalMvar.ToString() + "," + m_impedanceCalculationMethod.ToString() + "," + m_impedance.ToString());
 }
Ejemplo n.º 2
0
 /// <summary>
 /// A string representation of the instance of the <see cref="SeriesBranchBase"/> class.
 /// </summary>
 /// <returns>A string representation of the instance of the <see cref="SeriesBranchBase"/> class.</returns>
 public override string ToString()
 {
     return(m_internalID.ToString() + "," + m_number.ToString() + "," + m_name + "," + m_description + "," + m_fromNodeID.ToString() + "," + m_toNodeID.ToString() + "," + m_impedance.ToString());
 }