Esempio n. 1
0
 public void setWire(Wire w)
 {
     this.lonelyWire = w;
 }
Esempio n. 2
0
 public void addConnection(Wire w)
 {
     this.connetions.Add(w);
 }
Esempio n. 3
0
 public override void AddConnection(Wire wire)
 {
     connetions.Add(wire);
     energyRecived += wire.GetActivCurrent();
     connetions[0].SetActivCurrent(energyRecived);
 }
Esempio n. 4
0
 public void SetConcentreWire(Wire concentredWire)
 {
     connetions.Insert(0, concentredWire);
 }
Esempio n. 5
0
 public override void AddConnection(Wire wire)
 {
     connetions.Add(wire);
 }
Esempio n. 6
0
 public void SetPowerSupply(Wire powerSupply)
 {
     connetions.Insert(0, powerSupply);
     costByEnegieQtt = powerSupply.GetCost();
 }
Esempio n. 7
0
 public abstract void AddConnection(Wire wire);