public override void ElectricityOutput(VIRCurrent Current, ElectricalOIinheritance SourceInstance) { Current = InData.ControllingDevice.ModifyElectricityOutput(Current, SourceInstance); if (Logall) { Logger.Log("this > " + this + "ElectricityOutput, Current > " + Current + " SourceInstance > " + SourceInstance, Category.Electrical); } InputOutputFunctions.ElectricityOutput(Current, SourceInstance, InData); }
/// <summary> ///The function for out putting current into other nodes (Basically doing ElectricityInput On another one) /// </summary> public virtual void ElectricityOutput(VIRCurrent Current, ElectricalOIinheritance SourceInstance) { if (Logall) { Logger.Log("this > " + this + "ElectricityOutput, Current > " + Current + " SourceInstance > " + SourceInstance, Category.Electrical); } InputOutputFunctions.ElectricityOutput(Current, SourceInstance, InData); }
/// <summary> ///The function for out putting current into other nodes (Basically doing ElectricityInput On another one) /// </summary> public virtual void ElectricityOutput(VIRCurrent Current, ElectricalOIinheritance SourceInstance) { if (Present != null) { Present.ElectricityOutput(Current, SourceInstance); } else { InputOutputFunctions.ElectricityOutput(Current, SourceInstance, this); } }