public void PowerUpdateResistanceChange() { powerSupply.PowerUpdateResistanceChange(); foreach (KeyValuePair <IElectricityIO, HashSet <PowerTypeCategory> > Supplie in powerSupply.Data.ResistanceToConnectedDevices) { if (Supplie.Value.Contains(PowerTypeCategory.StandardCable)) { powerSupply.ResistanceInput(1.11111111f, Supplie.Key.GameObject(), null); ElectricalSynchronisation.NUCurrentChange.Add(Supplie.Key.InData.ControllingUpdate); } } }
public void PowerUpdateResistanceChange() { //if (current > 0) { powerSupply.PowerUpdateResistanceChange(); //} }
public void PowerUpdateResistanceChange() { powerSupply.PowerUpdateResistanceChange(); }
public void PowerUpdateResistanceChange() { //Logger.Log ("PowerUpdateResistanceChange"); powerSupply.PowerUpdateResistanceChange(); }