Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nghyd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
A compter du 1er avril, attention à vos pipelines :
Nouvelles limitations de Docker Hub
Show more breadcrumbs
Cassiopée
nghyd
Commits
71045dc5
Commit
71045dc5
authored
5 years ago
by
mathias.chouet
Browse files
Options
Downloads
Patches
Plain Diff
Correction bug cloison aval
parent
afa7f687
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/formulaire/definition/concrete/form-pab.ts
+19
-2
19 additions, 2 deletions
src/app/formulaire/definition/concrete/form-pab.ts
with
19 additions
and
2 deletions
src/app/formulaire/definition/concrete/form-pab.ts
+
19
−
2
View file @
71045dc5
...
...
@@ -90,6 +90,11 @@ export class FormulairePab extends FormulaireBase {
parent
.
deleteChild
(
parent
.
getIndexForChild
(
sn
));
}
public
doCompute
()
{
this
.
dumpPabStructure
(
this
.
pabNub
);
super
.
doCompute
();
}
public
createFieldset
(
parent
:
FormulaireNode
,
json
:
{},
data
?:
{},
nub
?:
Nub
):
FieldSet
{
if
(
json
[
"
calcType
"
]
===
"
PabCloisons
"
)
{
// indice après lequel insérer le nouveau FieldSet
...
...
@@ -235,15 +240,27 @@ export class FormulairePab extends FormulaireBase {
case
"
fs_bassin
"
:
switch
(
data
.
name
)
{
case
"
modeleCloisons
"
:
// change PabCloisons
Nub
property "modeleCloisons" and reinit it
// change PabCloisons property "modeleCloisons" and reinit it
// with new Cloisons values
const
newModeleUID
=
sender
.
properties
.
getPropValue
(
"
modeleCloisons
"
);
(
sender
.
nub
as
PabCloisons
).
setModel
(
newModeleUID
);
// treat the fieldset as new to re-subscribe to Nub properties change events
this
.
afterParseFieldset
(
sender
);
this
.
reset
();
break
;
}
break
;
// this.dumpPabStructure(this.currentNub as Pab);
case
"
fs_cloison_aval
"
:
switch
(
data
.
name
)
{
case
"
modeleCloisonAval
"
:
// change Pab property "modeleCloisonAval" and reinit it
// with new ParallelStructure values
const
newModeleAvalUID
=
sender
.
properties
.
getPropValue
(
"
modeleCloisonAval
"
);
this
.
pabNub
.
setDownWall
(
newModeleAvalUID
);
// treat the fieldset as new to re-subscribe to Nub properties change events
this
.
afterParseFieldset
(
sender
);
this
.
reset
();
break
;
}
break
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment