Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cassiopee
jalhyd
Commits
a9bf6490
Commit
a9bf6490
authored
Nov 12, 2019
by
Mathias Chouet
🍝
Browse files
Session loading: set Trigo and SPP properties
parent
03d10f8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/session.ts
View file @
a9bf6490
...
...
@@ -22,9 +22,9 @@ import { CourbeRemous } from "./remous/remous";
import
{
SectionParametree
}
from
"
./section/section_parametree
"
;
import
{
Solveur
}
from
"
./solveur/solveur
"
;
import
{
SolveurParams
}
from
"
./solveur/solveur_params
"
;
import
{
SPP
}
from
"
./spp
"
;
import
{
SPP
,
SPPOperation
}
from
"
./spp
"
;
import
{
SPPParams
}
from
"
./spp_params
"
;
import
{
Trigo
}
from
"
./trigo
"
;
import
{
Trigo
,
TrigoOperation
,
TrigoUnit
}
from
"
./trigo
"
;
import
{
TrigoParams
}
from
"
./trigo_params
"
;
import
{
YAXB
}
from
"
./yaxb
"
;
import
{
YAXBParams
}
from
"
./yaxb_params
"
;
...
...
@@ -122,6 +122,15 @@ export class Session {
case
"
regime
"
:
res
[
k
]
=
BiefRegime
[
res
[
k
]];
break
;
case
"
trigoOperation
"
:
res
[
k
]
=
TrigoOperation
[
res
[
k
]];
break
;
case
"
trigoUnit
"
:
res
[
k
]
=
TrigoUnit
[
res
[
k
]];
break
;
case
"
sppOperation
"
:
res
[
k
]
=
SPPOperation
[
res
[
k
]];
break
;
// "varCalc" is not an enum
// "inclinedApron" is not an enum
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment