Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit b07a925d authored by Harald Martini's avatar Harald Martini
Browse files

added MissionFilter to also filter runs that are dynamically created during...

added MissionFilter to also filter runs that are dynamically created during the simulation (i.e. completed bus)
parent 2a05a243
No related branches found
No related tags found
No related merge requests found
......@@ -49,6 +49,23 @@ namespace TUGraz.VectoCore.Models.Declaration
FullLoading,
}
public interface IMissionFilter
{
bool Run(MissionType missionType, LoadingType loadingType);
}
public class DefaultMissionFilter : IMissionFilter
{
#region Implementation of IMissionFilter
public bool Run(MissionType missionType, LoadingType loadingType)
{
return true;
}
#endregion
}
public class Mission
{
public Kilogram CurbMass { get; internal set; }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment