public void SetPowerSupply(Wire powerSupply) { connetions.Insert(0, powerSupply); costByEnegieQtt = powerSupply.GetCost(); }