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
5abb5f2f
Commit
5abb5f2f
authored
Nov 14, 2019
by
Mathias Chouet
🍝
Browse files
Update childrenType for better display
parent
2f62c612
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/index.ts
View file @
5abb5f2f
...
...
@@ -67,3 +67,4 @@ export * from "./spp";
export
*
from
"
./spp_params
"
;
export
*
from
"
./yaxn
"
;
export
*
from
"
./yaxn_params
"
;
export
*
from
"
./child_nub
"
;
\ No newline at end of file
src/spp.ts
View file @
5abb5f2f
...
...
@@ -21,7 +21,7 @@ export class SPP extends Nub {
super
(
prms
,
dbg
);
this
.
_calcType
=
CalculatorType
.
SPP
;
this
.
_defaultCalculatedParam
=
prms
.
Y
;
this
.
_childrenType
=
"
YAXN
"
;
this
.
_childrenType
=
"
Puissance
"
;
this
.
resetDefaultCalculatedParam
();
this
.
properties
.
setPropValue
(
"
sppOperation
"
,
SPPOperation
.
SUM
);
}
...
...
src/structure/parallel_structure.ts
View file @
5abb5f2f
...
...
@@ -18,7 +18,7 @@ export class ParallelStructure extends Nub {
constructor
(
prms
:
ParamsEquation
,
dbg
:
boolean
=
false
)
{
super
(
prms
,
dbg
);
this
.
_calcType
=
CalculatorType
.
ParallelStructure
;
this
.
_childrenType
=
"
Structur
e
"
;
this
.
_childrenType
=
"
Ouvrag
e
"
;
}
/** children casting */
...
...
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