Exemplo n.º 1
0
 /// <summary>
 /// Create a new GridTopology object.
 /// </summary>
 /// <param name="node">Initial value of the Node property.</param>
 /// <param name="branch">Initial value of the Branch property.</param>
 /// <param name="initVoltage">Initial value of the initVoltage property.</param>
 public static GridTopology CreateGridTopology(global::System.Int32 node, global::System.Int32 branch, global::System.Decimal initVoltage)
 {
     GridTopology gridTopology = new GridTopology();
     gridTopology.Node = node;
     gridTopology.Branch = branch;
     gridTopology.initVoltage = initVoltage;
     return gridTopology;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the GridTopologies EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGridTopologies(GridTopology gridTopology)
 {
     base.AddObject("GridTopologies", gridTopology);
 }