passage de la configuration du fonctionnement du scheduler dans la page horaires et non plus dans la page parametres
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user