renamed Input.jl in Types.jl

development
Martin Scheidt 2022-04-22 10:51:34 +02:00
parent 237729ce5b
commit e86971b67d
4 changed files with 6 additions and 6 deletions

View File

@ -70,7 +70,7 @@ Add an attribute to DataPoint to record the corresponding driving behavior
Refactor some of the mutable structs from types.jl as Dictionaries Refactor some of the mutable structs from types.jl as Dictionaries
* Remove the mutable structs Train, Path, PathSection, Settings and MovingSection * Remove the mutable structs Train, Path, PathSection, Settings and MovingSection
* Create Dictionaries for train, path an settings in Input.jl * Create Dictionaries for train, path an settings in Validate.jl
* Create a Dictionary for the whole moving section in Preperation.jl and a function for copying the moving section in OperationModes.jl * Create a Dictionary for the whole moving section in Preperation.jl and a function for copying the moving section in OperationModes.jl
* Change the type of existing Dictionary keys from String to Symbol * Change the type of existing Dictionary keys from String to Symbol

View File

@ -8,14 +8,14 @@
module TrainRunCalc module TrainRunCalc
# include modules of TrainRunCalc # include modules of TrainRunCalc
include("./Input.jl") include("./Validate.jl")
include("./Characteristics.jl") include("./Characteristics.jl")
include("./Behavior.jl") include("./Behavior.jl")
include("./Output.jl") include("./Output.jl")
# use modules of TrainRunCalc # use modules of TrainRunCalc
using .Input using .Validate
using .Characteristics using .Characteristics
using .Behavior using .Behavior
using .Output using .Output

View File

@ -6,7 +6,7 @@
# __license__ = "ISC" # __license__ = "ISC"
# TODO: 2022-04-07: if EnergySaving should be used. The train type has do be defined and checked # TODO: 2022-04-07: if EnergySaving should be used. The train type has do be defined and checked
module Input module Validate
export checkAndSetInput! export checkAndSetInput!
@ -754,4 +754,4 @@ function informAboutUnusedKeys(allKeys::AbstractVector, usedKeys::Vector{Symbol}
end end
end #function informAboutUnusedKeys end #function informAboutUnusedKeys
end # module Input end # module Validate

View File

@ -6,7 +6,7 @@
# __license__ = "ISC" # __license__ = "ISC"
include("../src/types.jl") include("../src/types.jl")
include("../src/Input.jl") include("../src/Validate.jl")
using .Input using .Input
using YAML, Test using YAML, Test