pressure.ts 687 B

12345678910111213141516171819202122232425262728
  1. import { Component, ChangeDetectorRef } from '@angular/core';
  2. import { NavController, NavParams } from 'ionic-angular';
  3. import { SettingBasePage } from '../setting-base/setting-base';
  4. import { MeBaristaService } from '../../providers/me-barista-service';
  5. @Component({
  6. selector: 'page-pressure',
  7. templateUrl: 'pressure.html'
  8. })
  9. export class PressurePage extends SettingBasePage {
  10. constructor( public navCtrl: NavController, public navParams: NavParams, public cdr: ChangeDetectorRef, public abc: MeBaristaService ) {
  11. super( navCtrl, navParams, cdr, abc );
  12. }
  13. ionViewWillEnter() {
  14. super.ionViewWillEnter( );
  15. this.init( { pp1: 100, pp2: 100, ppt: 25 } );
  16. }
  17. }