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

Skip to content
Snippets Groups Projects
Commit c7493583 authored by Markus QUARITSCH's avatar Markus QUARITSCH
Browse files

splitting up long methods

parent f9ba9097
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ using TUGraz.VectoCommon.Utils;
namespace TUGraz.VectoCommon.Models
{
[DebuggerDisplay("a: {Acceleration}, dt: {SimulationInterval}, ds: {SimulationDistance}")]
public struct OperatingPoint
public class OperatingPoint
{
public MeterPerSquareSecond Acceleration;
public Meter SimulationDistance;
......
This diff is collapsed.
......@@ -64,36 +64,36 @@ namespace VectoConsole
private const string Usage = @"Usage: vectocmd.exe [-h] [-v] FILE1.vecto [FILE2.vecto ...]";
private const string Help = @"
Commandline Interface for Vecto.
Synopsis:
vectocmd.exe [-h] [-v] FILE1.(vecto|xml) [FILE2.(vecto|xml) ...]
Description:
FILE1.vecto [FILE2.vecto ...]: A list of vecto-job files (with the
extension: .vecto). At least one file must be given. Delimited by
whitespace.
-t: output information about execution times
-mod: write mod-data in addition to sum-data
-1Hz: convert mod-data to 1Hz resolution
-eng: switch to engineering mode (implies -mod)
-q: quiet - disables console output unless verbose information is enabled
-nv: skip validation of internal data structure before simulation
-v: Shows verbose information (errors and warnings will be displayed)
-vv: Shows more verbose information (infos will be displayed)
-vvv: Shows debug messages (slow!)
-vvvv: Shows all verbose information (everything, slow!)
-V: show version information
-h: Displays this help.
Examples:
vecto.exe ""12t Delivery Truck.vecto"" 40t_Long_Haul_Truck.vecto
vecto.exe 24tCoach.vecto 40t_Long_Haul_Truck.vecto
vecto.exe -v 24tCoach.vecto
vecto.exe -v jobs\40t_Long_Haul_Truck.vecto
vecto.exe -h
private const string Help = @"
Commandline Interface for Vecto.
Synopsis:
vectocmd.exe [-h] [-v] FILE1.(vecto|xml) [FILE2.(vecto|xml) ...]
Description:
FILE1.vecto [FILE2.vecto ...]: A list of vecto-job files (with the
extension: .vecto). At least one file must be given. Delimited by
whitespace.
-t: output information about execution times
-mod: write mod-data in addition to sum-data
-1Hz: convert mod-data to 1Hz resolution
-eng: switch to engineering mode (implies -mod)
-q: quiet - disables console output unless verbose information is enabled
-nv: skip validation of internal data structure before simulation
-v: Shows verbose information (errors and warnings will be displayed)
-vv: Shows more verbose information (infos will be displayed)
-vvv: Shows debug messages (slow!)
-vvvv: Shows all verbose information (everything, slow!)
-V: show version information
-h: Displays this help.
Examples:
vecto.exe ""12t Delivery Truck.vecto"" 40t_Long_Haul_Truck.vecto
vecto.exe 24tCoach.vecto 40t_Long_Haul_Truck.vecto
vecto.exe -v 24tCoach.vecto
vecto.exe -v jobs\40t_Long_Haul_Truck.vecto
vecto.exe -h
";
private static JobContainer _jobContainer;
......@@ -289,8 +289,9 @@ Examples:
#if DEBUG
Console.Error.WriteLine("done.");
if (!Console.IsInputRedirected)
if (!Console.IsInputRedirected) {
Console.ReadKey();
}
#endif
return Environment.ExitCode;
}
......
This diff is collapsed.
This diff is collapsed.
......@@ -36,10 +36,6 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="itextsharp, Version=5.5.7.0, Culture=neutral, PublicKeyToken=8354ae6d2174ddca, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\packages\iTextSharp.5.5.9\lib\itextsharp.dll</HintPath>
</Reference>
<Reference Include="Microsoft.CSharp" />
<Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
......
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