Exemplo n.º 1
0
 public override void TurnOnSupply()
 {
     if (InternalResistance > 0)
     {
         foreach (PowerTypeCategory Connecting in ControllingNode.CanConnectTo)
         {
             ControllingNode.OverlayInternalResistance(InternalResistance, Connecting);
         }
         ElectricalSynchronisation.NUResistanceChange.Add(ControllingNode);
     }
     PowerSupplyFunction.TurnOnSupply(this);
 }
Exemplo n.º 2
0
 public override void TurnOnSupply()
 {
     //Logger.Log("TurnOnSupply");
     if (InternalResistance > 0)
     {
         foreach (PowerTypeCategory Connecting in ControllingNode.CanConnectTo)
         {
             ControllingNode.OverlayInternalResistance(InternalResistance, Connecting);
         }
         ElectricalManager.Instance.electricalSync.NUResistanceChange.Add(ControllingNode);
     }
     PowerSupplyFunction.TurnOnSupply(this);
 }