/// <summary> /// Inputs a current from a device, with the supply /// </summary> public virtual void ElectricityInput(float Current, GameObject SourceInstance, ElectricalOIinheritance ComingFrom) { if (Logall) { Logger.Log("this > " + this + "ElectricityInput, Current > " + Current + " SourceInstance > " + SourceInstance + " ComingFrom > " + ComingFrom, Category.Electrical); } InputOutputFunctions.ElectricityInput(Current, SourceInstance, ComingFrom, this); }
public override void ElectricityInput(VIRCurrent Current, ElectricalOIinheritance SourceInstance, IntrinsicElectronicData ComingFrom) { Current = InData.ControllingDevice.ModifyElectricityInput(Current, SourceInstance, ComingFrom); if (Logall) { Logger.Log("this > " + this + "ElectricityInput, Current > " + Current + " SourceInstance > " + SourceInstance + " ComingFrom > " + ComingFrom, Category.Electrical); } InputOutputFunctions.ElectricityInput(Current, SourceInstance, ComingFrom, InData); }
/// <summary> /// Inputs a current from a device, with the supply /// </summary> public virtual void ElectricityInput(VIRCurrent Current, ElectricalOIinheritance SourceInstance, IntrinsicElectronicData ComingFrom) { if (Logall) { Logger.Log("this > " + this + "ElectricityInput, Current > " + Current + " SourceInstance > " + SourceInstance + " ComingFrom > " + ComingFrom, Category.Electrical); } InputOutputFunctions.ElectricityInput(Current, SourceInstance, ComingFrom, InData); }
/// <summary> /// Inputs a current from a device, with the supply /// </summary> public virtual void ElectricityInput(VIRCurrent Current, ElectricalOIinheritance SourceInstance, IntrinsicElectronicData ComingFrom) { if (Present != null) { Present.ElectricityInput(Current, SourceInstance, ComingFrom); } else { InputOutputFunctions.ElectricityInput(Current, SourceInstance, ComingFrom, this); } }
public void ElectricityInput(int tick, float Current, GameObject SourceInstance, IElectricityIO ComingFrom) { Current = RelatedDevice.ModifyElectricityInput(tick, Current, SourceInstance, ComingFrom); InputOutputFunctions.ElectricityInput(tick, Current, SourceInstance, ComingFrom, this); }
public void ElectricityInput(int tick, float Current, GameObject SourceInstance, IElectricityIO ComingFrom) { InputOutputFunctions.ElectricityInput(tick, Current, SourceInstance, ComingFrom, this); }
public override void ElectricityInput(float Current, GameObject SourceInstance, ElectricalOIinheritance ComingFrom) { Current = InData.ControllingDevice.ModifyElectricityInput(Current, SourceInstance, ComingFrom); InputOutputFunctions.ElectricityInput(Current, SourceInstance, ComingFrom, this); }
public virtual void ElectricityInput(float Current, GameObject SourceInstance, IElectricityIO ComingFrom) { InputOutputFunctions.ElectricityInput(Current, SourceInstance, ComingFrom, this); }