public override void Copy(IPowerSupply other) { base.Copy(other); if (other is ScriptedElectricPowerSupply scriptedOther) { CircuitBreaker.Copy(scriptedOther.CircuitBreaker); } }
public override void Copy(IPowerSupply other) { base.Copy(other); if (other is ScriptedDualModePowerSupply scriptedOther) { CircuitBreaker.Copy(scriptedOther.CircuitBreaker); TractionCutOffRelay.Copy(scriptedOther.TractionCutOffRelay); } }
public void Copy(ScriptedDualModePowerSupply other) { base.Copy(other); CircuitBreaker.Copy(other.CircuitBreaker); TractionCutOffRelay.Copy(other.TractionCutOffRelay); }
public void Copy(ScriptedElectricPowerSupply other) { base.Copy(other); CircuitBreaker.Copy(other.CircuitBreaker); }