Skip to content
Snippets Groups Projects
Commit 0f755e6e authored by mathias.chouet's avatar mathias.chouet
Browse files

Modale de création de PAB : copie de Q et Z1 depuis le module Cloisons source

parent b426ff94
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,8 @@ export class DialogGeneratePABComponent {
private fb: FormBuilder,
@Inject(MAT_DIALOG_DATA) public data: any
) {
this.coteAmont = data.coteAmont;
this.debit = data.debit;
this.chute = data.chute;
}
......
......@@ -438,11 +438,14 @@ export class GenericCalculatorComponent extends BaseComponent implements OnInit,
*/
public generatePAB() {
// création du dialogue de génération d'une passe à bassin
const cloisons = (this._formulaire.currentNub as Cloisons);
const dialogRef = this.generatePABDialog.open(
DialogGeneratePABComponent,
{
data: {
chute: (this._formulaire.currentNub as Cloisons).prms.DH.v
chute: cloisons.prms.DH.singleValue,
debit: cloisons.prms.Q.singleValue,
coteAmont: cloisons.prms.Z1.singleValue
},
disableClose: true
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment