Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

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

refactoring: moving interfaces and dependent classes to interfaces project

parent de654829
Branches
Tags
No related merge requests found
Showing
with 470 additions and 452 deletions
Option Strict On
Namespace Electrics
Namespace DownstreamModules.Electrics
'Used by the Combined Alternator Form/Classes to accept user input for the combined alternators efficiency
'At different Current Demands
Public class AltUserInput
......
......@@ -10,7 +10,7 @@
' See the LICENSE.txt for the specific language governing permissions and limitations.
Namespace Electrics
Namespace DownstreamModules.Electrics
'Originally was going to hold more than one value type.
Public Structure AlternatorMapValues
Public ReadOnly Efficiency As Double
......
......@@ -9,7 +9,7 @@
'
' See the LICENSE.txt for the specific language governing permissions and limitations.
Namespace Electrics
Namespace DownstreamModules.Electrics
Public Class ElectricConstants
'Anticipated Min and Max Allowable values for Powernet, normally 26.3 volts but could be 48 in the future.
Public Const PowenetVoltageMin As Double = 6
......

Namespace Electrics
Imports VectoAuxiliaries.Electrics
Namespace DownstreamModules.Electrics
Public Class Table4Row
Public RPM As Double
Public Efficiency As Double
Public Sub New(rpm As Double, eff As Double)
Me.RPM = rpm
Me.Efficiency = eff
End Sub
End Class
'Used By Combined Alternator.
'Model based on CombinedALTS_V02_Editable.xlsx
Public Interface IAlternator
......
......@@ -10,7 +10,7 @@
' See the LICENSE.txt for the specific language governing permissions and limitations.
Imports TUGraz.VectoCommon.Utils
Namespace Electrics
Namespace DownstreamModules.Electrics
Public Interface IAlternatorMap
Inherits IAuxiliaryEvent
......

Namespace Electrics
Namespace DownstreamModules.Electrics
Public Interface ICombinedAlternator
'Alternators List
Property Alternators As List(Of IAlternator)
......

Namespace Electrics
Namespace DownstreamModules.Electrics
'Reflects stored data in pesisted CombinedAlternator Map .AALT
Public Interface ICombinedAlternatorMapRow
Property AlternatorName As String
......

Imports TUGraz.VectoCommon.Utils
Namespace Electrics
Namespace DownstreamModules.Electrics
'Used by CombinedAlternator
Public Interface ICombinedAlternatorSignals
Property NumberOfAlternators As Integer
......
......@@ -8,11 +8,10 @@
' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
'
' See the LICENSE.txt for the specific language governing permissions and limitations.
Imports System.ComponentModel
Imports TUGraz.VectoCommon.Utils
Namespace Electrics
Namespace DownstreamModules.Electrics
Public Interface IElectricalConsumer
Inherits INotifyPropertyChanged
......
......@@ -10,7 +10,7 @@
' See the LICENSE.txt for the specific language governing permissions and limitations.
Imports TUGraz.VectoCommon.Utils
Namespace Electrics
Namespace DownstreamModules.Electrics
Public Interface IElectricalConsumerList
''' <summary>
''' List of Electrical Consumers
......
......@@ -9,9 +9,8 @@
'
' See the LICENSE.txt for the specific language governing permissions and limitations.
Imports VectoAuxiliaries.Electrics
Namespace Electrics
Namespace DownstreamModules.Electrics
Public Interface IElectricsUserInputsConfig
''' <summary>
''' Power Net Voltage - The supply voltage used on the vehilce.
......
......@@ -9,8 +9,9 @@
'
' See the LICENSE.txt for the specific language governing permissions and limitations.
Imports TUGraz.VectoCommon.Utils
Imports VectoAuxiliaries.Electrics
Namespace Electrics
Namespace DownstreamModules.Electrics
Public Interface IResultCard
''' <summary>
''' Returns a List of (SmartResult )
......
......@@ -9,7 +9,7 @@
'
' See the LICENSE.txt for the specific language governing permissions and limitations.
Namespace Electrics
Namespace DownstreamModules.Electrics
Public Class SmartResult
Implements IComparable(Of SmartResult)
......
Namespace Hvac
Namespace DownstreamModules.HVAC
Public Interface IEnvironmentalCondition
Function GetTemperature() As Double
Function GetSolar() As Double
......
Namespace Hvac

Namespace DownstreamModules.HVAC
Public Interface IEnvironmentalConditionsMap
Function Initialise() As Boolean
......
Imports TUGraz.VectoCommon.Utils
Namespace Hvac
Namespace DownstreamModules.HVAC
Public Interface IHVACConstants
''' <summary>
''' Diesel: 44800 [J/g]
......
......@@ -9,7 +9,7 @@
'
' See the LICENSE.txt for the specific language governing permissions and limitations.
Namespace Hvac
Namespace DownstreamModules.HVAC
Public Interface IHVACSteadyStateModel
''' <summary>
''' Initialised Values From Map
......
......@@ -9,11 +9,8 @@
'
' See the LICENSE.txt for the specific language governing permissions and limitations.
Imports VectoAuxiliaries.Pneumatics
Imports VectoAuxiliaries.Electrics
Imports VectoAuxiliaries.Hvac
Namespace Hvac
Namespace DownstreamModules.HVAC
Public Interface IHVACUserInputsConfig
' Property SteadyStateModel As IHVACSteadyStateModel
''' <summary>
......
Namespace Hvac
Imports VectoAuxiliaries.Hvac
Namespace DownstreamModules.HVAC
Public Interface ISSMCalculate
......

Namespace Hvac
Imports VectoAuxiliaries.Hvac
Namespace DownstreamModules.HVAC
Public Interface ISSMGenInputs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment