From 30aaa6f18a22187ed8cf6a07b1c41cad59213d53 Mon Sep 17 00:00:00 2001 From: Markus Quaritsch <markus.quaritsch@tugraz.at> Date: Thu, 16 Apr 2015 09:53:46 +0200 Subject: [PATCH] introduced common interface for power train elements that have an inShaft and an outShaft --- VectoCore/Models/SimulationComponent/IClutch.cs | 2 +- .../Models/SimulationComponent/IPowerTrainComponent.cs | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 VectoCore/Models/SimulationComponent/IPowerTrainComponent.cs diff --git a/VectoCore/Models/SimulationComponent/IClutch.cs b/VectoCore/Models/SimulationComponent/IClutch.cs index dfaac8c62c..953f3f613f 100644 --- a/VectoCore/Models/SimulationComponent/IClutch.cs +++ b/VectoCore/Models/SimulationComponent/IClutch.cs @@ -2,5 +2,5 @@ namespace TUGraz.VectoCore.Models.SimulationComponent { - public interface IClutch : IInShaft, IOutShaft {} + public interface IClutch : IPowerTrainComponent {} } \ No newline at end of file diff --git a/VectoCore/Models/SimulationComponent/IPowerTrainComponent.cs b/VectoCore/Models/SimulationComponent/IPowerTrainComponent.cs new file mode 100644 index 0000000000..7c0d4202c0 --- /dev/null +++ b/VectoCore/Models/SimulationComponent/IPowerTrainComponent.cs @@ -0,0 +1,6 @@ +using TUGraz.VectoCore.Models.Connector.Ports; + +namespace TUGraz.VectoCore.Models.SimulationComponent +{ + public interface IPowerTrainComponent : IInShaft, IOutShaft {} +} \ No newline at end of file -- GitLab