public override void Copy(IPowerSupply other)
        {
            base.Copy(other);

            if (other is ScriptedDieselPowerSupply scriptedOther)
            {
                TractionCutOffRelay.Copy(scriptedOther.TractionCutOffRelay);
            }
        }
Exemple #2
0
        public override void Copy(IPowerSupply other)
        {
            base.Copy(other);

            if (other is ScriptedDualModePowerSupply scriptedOther)
            {
                CircuitBreaker.Copy(scriptedOther.CircuitBreaker);
                TractionCutOffRelay.Copy(scriptedOther.TractionCutOffRelay);
            }
        }
Exemple #3
0
 public void Copy(ScriptedDualModePowerSupply other)
 {
     base.Copy(other);
     CircuitBreaker.Copy(other.CircuitBreaker);
     TractionCutOffRelay.Copy(other.TractionCutOffRelay);
 }