diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/CombustionEngine.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/CombustionEngine.cs index e6b30733af30e44e78c5127d77fd339d20c39e4c..90c9b97008a487fa2615752958700b5e5daf08a7 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/CombustionEngine.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/CombustionEngine.cs @@ -92,7 +92,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl #region IEngineCockpit - PerSecond IEngineInfo.EngineSpeed + public PerSecond EngineSpeed { get { return PreviousState.EngineSpeed; } } @@ -142,7 +142,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl #region ITnOutPort - IResponse ITnOutPort.Request(Second absTime, Second dt, NewtonMeter torque, PerSecond angularVelocity, bool dryRun) + public IResponse Request(Second absTime, Second dt, NewtonMeter torque, PerSecond angularVelocity, bool dryRun) { IterationStatistics.Increment(this, "Requests"); diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/CycleGearbox.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/CycleGearbox.cs index 7b6695b89e80288df1845ad97f7c96a2b850de50..76a4f0334911617dce28b3994cb6b49c41e39b3d 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/CycleGearbox.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/CycleGearbox.cs @@ -116,7 +116,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl #region ITnInPort - void ITnInPort.Connect(ITnOutPort other) + public void Connect(ITnOutPort other) { NextComponent = other; } diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/Driver.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/Driver.cs index 78914d7ddcea0601e677a0a6ba6c90a93492e034..4804a1d41c7adf3435dbcf456d6a04c54b3f0733 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/Driver.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/Driver.cs @@ -138,9 +138,9 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl return retVal; } - IDataBus IDriverActions.DataBus + public new IDataBus DataBus { - get { return DataBus; } + get { return base.DataBus; } } /// <summary> diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/Gearbox.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/Gearbox.cs index ed204fb4fcddc048de8a079c000e91115449c89a..c52d979cd5ce828d9ad8a04feaa3606409591636 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/Gearbox.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/Gearbox.cs @@ -393,7 +393,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl #region ITnInPort - void ITnInPort.Connect(ITnOutPort other) + public void Connect(ITnOutPort other) { NextComponent = other; } diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/PowertrainDrivingCycle.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/PowertrainDrivingCycle.cs index 0dd0e1f6247dd2078c87ca06833fac65bc77b93c..b475517770c06485e8f8abf83dc4ca211f94aff2 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/PowertrainDrivingCycle.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/PowertrainDrivingCycle.cs @@ -182,7 +182,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl #region ITnInPort - void ITnInPort.Connect(ITnOutPort other) + public void Connect(ITnOutPort other) { NextComponent = other; } @@ -479,7 +479,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl #region IDriverDemandInPort - void IDriverDemandInPort.Connect(IDriverDemandOutPort other) + public void Connect(IDriverDemandOutPort other) { NextComponent = other; } diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/Wheels.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/Wheels.cs index 16c5f9ceec9788add6faac1ada09d1782336901c..bc7422019a51fbb609ae263d4eb5747fdb99f6ea 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/Wheels.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/Wheels.cs @@ -105,7 +105,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl #region ITnInPort - void ITnInPort.Connect(ITnOutPort other) + public void Connect(ITnOutPort other) { NextComponent = other; }