예제 #1
0
 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);
         }
     }
 }
예제 #2
0
 public void PowerUpdateResistanceChange()
 {
     //if (current > 0) {
     powerSupply.PowerUpdateResistanceChange();
     //}
 }
예제 #3
0
 public void PowerUpdateResistanceChange()
 {
     powerSupply.PowerUpdateResistanceChange();
 }
 public void PowerUpdateResistanceChange()
 {
     //Logger.Log ("PowerUpdateResistanceChange");
     powerSupply.PowerUpdateResistanceChange();
 }