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

Skip to content
Snippets Groups Projects
Commit a55fa650 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

Merge remote-tracking branch 'origin/master' into bugfix/VECTO-368-validation-error-on-gears-ratio

parents 44361403 b40aca7e
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,6 @@ Imports System.Collections.Generic ...@@ -14,7 +14,6 @@ Imports System.Collections.Generic
Imports System.ComponentModel.DataAnnotations Imports System.ComponentModel.DataAnnotations
Imports System.IO Imports System.IO
Imports System.Linq Imports System.Linq
Imports Newtonsoft.Json.Linq
Imports TUGraz.VECTO.Input_Files Imports TUGraz.VECTO.Input_Files
Imports TUGraz.VectoCommon.InputData Imports TUGraz.VectoCommon.InputData
Imports TUGraz.VectoCommon.Models Imports TUGraz.VectoCommon.Models
...@@ -29,7 +28,6 @@ Imports TUGraz.VectoCore.Utils ...@@ -29,7 +28,6 @@ Imports TUGraz.VectoCore.Utils
Public Class Vehicle Public Class Vehicle
Implements IVehicleEngineeringInputData, IVehicleDeclarationInputData, IRetarderInputData, IPTOTransmissionInputData, Implements IVehicleEngineeringInputData, IVehicleDeclarationInputData, IRetarderInputData, IPTOTransmissionInputData,
IAngledriveInputData IAngledriveInputData
'V2 MassMax is now saved in [t] instead of [kg]
Private _filePath As String Private _filePath As String
Private _path As String Private _path As String
...@@ -42,7 +40,7 @@ Public Class Vehicle ...@@ -42,7 +40,7 @@ Public Class Vehicle
Public CrossWindCorrectionMode As CrossWindCorrectionMode Public CrossWindCorrectionMode As CrossWindCorrectionMode
Public ReadOnly CrossWindCorrectionFile As SubPath Public ReadOnly CrossWindCorrectionFile As SubPath
<ValidateObject()> Public RetarderType As RetarderType <ValidateObject> Public RetarderType As RetarderType
Public RetarderRatio As Double = 0 Public RetarderRatio As Double = 0
Public ReadOnly RetarderLossMapFile As SubPath Public ReadOnly RetarderLossMapFile As SubPath
...@@ -54,8 +52,8 @@ Public Class Vehicle ...@@ -54,8 +52,8 @@ Public Class Vehicle
Public MassExtra As Double Public MassExtra As Double
Public MassMax As Double Public MassMax As Double
Public AxleConfiguration As AxleConfiguration Public AxleConfiguration As AxleConfiguration
Public SavedInDeclMode As Boolean Public SavedInDeclMode As Boolean
Public AngledriveType As AngledriveType Public AngledriveType As AngledriveType
Public AngledriveRatio As Double Public AngledriveRatio As Double
Public ReadOnly AngledriveLossMapFile As SubPath Public ReadOnly AngledriveLossMapFile As SubPath
...@@ -159,8 +157,6 @@ Public Class Vehicle ...@@ -159,8 +157,6 @@ Public Class Vehicle
MassExtra = 0 MassExtra = 0
Loading = 0 Loading = 0
CdA0 = 0 CdA0 = 0
' CdA0Act = CdA0
' CdA02 = 0
CrossWindCorrectionFile.Clear() CrossWindCorrectionFile.Clear()
CrossWindCorrectionMode = CrossWindCorrectionMode.NoCorrection CrossWindCorrectionMode = CrossWindCorrectionMode.NoCorrection
...@@ -180,9 +176,9 @@ Public Class Vehicle ...@@ -180,9 +176,9 @@ Public Class Vehicle
PtoCycle.Clear() PtoCycle.Clear()
Axles.Clear() Axles.Clear()
VehicleCategory = VehicleCategory.RigidTruck 'tVehCat.Undef VehicleCategory = VehicleCategory.RigidTruck
MassMax = 0 MassMax = 0
AxleConfiguration = AxleConfiguration.AxleConfig_4x2 'tAxleConf.Undef AxleConfiguration = AxleConfiguration.AxleConfig_4x2
SavedInDeclMode = False SavedInDeclMode = False
End Sub End Sub
...@@ -370,7 +366,7 @@ Public Class Vehicle ...@@ -370,7 +366,7 @@ Public Class Vehicle
Public ReadOnly Property IVehicleEngineeringInputData_CrossWindCorrectionMode As CrossWindCorrectionMode _ Public ReadOnly Property IVehicleEngineeringInputData_CrossWindCorrectionMode As CrossWindCorrectionMode _
Implements IVehicleEngineeringInputData.CrossWindCorrectionMode Implements IVehicleEngineeringInputData.CrossWindCorrectionMode
Get Get
Return CrossWindCorrectionMode.DeclarationModeCorrection Return CrossWindCorrectionMode
End Get End Get
End Property End Property
...@@ -397,7 +393,6 @@ Public Class Vehicle ...@@ -397,7 +393,6 @@ Public Class Vehicle
Public ReadOnly Property IRetarderInputData_Ratio As Double Implements IRetarderInputData.Ratio Public ReadOnly Property IRetarderInputData_Ratio As Double Implements IRetarderInputData.Ratio
Get Get
Return RetarderRatio Return RetarderRatio
End Get End Get
End Property End Property
...@@ -410,7 +405,6 @@ Public Class Vehicle ...@@ -410,7 +405,6 @@ Public Class Vehicle
Public ReadOnly Property IRetarderInputData_LossMap As TableData Implements IRetarderInputData.LossMap Public ReadOnly Property IRetarderInputData_LossMap As TableData Implements IRetarderInputData.LossMap
Get Get
Return VectoCSVFile.Read(RetarderLossMapFile.FullPath) Return VectoCSVFile.Read(RetarderLossMapFile.FullPath)
End Get End Get
End Property End Property
......
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