示例#1
0
        public override void Copy(IPowerSupply other)
        {
            base.Copy(other);

            if (other is ScriptedElectricPowerSupply scriptedOther)
            {
                CircuitBreaker.Copy(scriptedOther.CircuitBreaker);
            }
        }
示例#2
0
        public override void Copy(IPowerSupply other)
        {
            base.Copy(other);

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