Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

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

removed MockupRun from VectoCore

parent 78506a30
No related branches found
No related tags found
No related merge requests found
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TUGraz.VectoCommon.Models;
using TUGraz.VectoCore.Models.Connector.Ports.Impl;
using TUGraz.VectoCore.OutputData;
namespace TUGraz.VectoCore.Models.Simulation.Impl.Mockup
{
public class MockupRun : VectoRun
{
private IVehicleContainer _vehicleContainer;
public MockupRun(IVehicleContainer container) : base(container)
{
_vehicleContainer = container;
}
#region Overrides of VectoRun
public override double Progress => 1;
protected override IResponse DoSimulationStep()
{
FinishedWithoutErrors = true;
return new ResponseCycleFinished(this);
}
public override bool CalculateAggregateValues()
{
return false;
}
protected override bool CheckCyclePortProgress()
{
return false;
}
protected override IResponse Initialize()
{
return new ResponseSuccess(this);
}
#endregion
}
}
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