passage de la configuration du fonctionnement du scheduler dans la page horaires et non plus dans la page parametres

This commit is contained in:
2022-11-25 20:43:59 +01:00
parent f4f903421e
commit 9182fa6ceb
5 changed files with 74 additions and 19 deletions

View File

@@ -19,7 +19,6 @@ export class ParametresComponent implements OnInit {
pinNumber:string="0000";
isProcessing:boolean = true;
defaultOp:string = 'Manuel ON';
operations:string[] = ['Manuel ON', 'Manuel OFF', 'Horaires'];
constructor(private fb:FormBuilder,
private bs:BackendService,
@@ -88,12 +87,12 @@ export class ParametresComponent implements OnInit {
}
let params:Parameters = {operation:'',
pin_actif:false,
code_pin:'',
num_autorized:'',
tone_duration:0,
dtmf_code:'',
dtmf_duration:0};
pin_actif:false,
code_pin:'',
num_autorized:'',
tone_duration:0,
dtmf_code:'',
dtmf_duration:0};
params.operation = this.defaultOp;
params.pin_actif = this.pinChecked;
if (this.pinChecked == false) {