Esempio n. 1
0
 internal static Resistor CombineInSeries(Resistor r1, Resistor r2)
 {
     r1.RemoveFromGrid();
     r2.RemoveFromGrid();
     Resistor r = new Resistor(r1, r2, false);
     r.AddToGrid();
     return r;
 }
Esempio n. 2
0
 internal static Resistor CombineInParallel(Resistor r1, Resistor r2)
 {
     r1.RemoveFromGrid();
     r2.RemoveFromGrid();
     Resistor r = new Resistor(r1, r2, true);
     r.AddToGrid();
     return r;
 }