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

Skip to content
Snippets Groups Projects
Commit f9de9915 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

extend segment table: additional column for cross-wind correction for EMS cycles

parent a6fea0b2
No related branches found
No related tags found
No related merge requests found
......@@ -224,8 +224,11 @@ namespace TUGraz.VectoCore.Models.Declaration
private static string GetMissionSuffix(MissionType missionType, bool ignoreEMS = false)
{
return (missionType.GetNonEMSMissionType() == MissionType.LongHaul ? "-longhaul" : "-other") +
(!ignoreEMS && missionType.IsEMS() ? "ems" : "");
return "-" +
(missionType.IsEMS() && ignoreEMS
? ""
: (missionType.GetNonEMSMissionType() == MissionType.LongHaul ? "longhaul" : "other")) +
(missionType.IsEMS() ? "ems" : "");
}
private static MissionTrailer CreateTrailer(string trailerValue, double axleWeightShare, bool firstTrailer)
......
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