pressure.html 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <ion-header>
  2. <ion-navbar>
  3. <ion-spinner #spinner [hidden]="!spinner_show" [paused]="!this.abc.scanning" (click)="this.abc.bt_discover()" style="float: right; margin-right: 1em; width: 1.5em; height: 1.5em;"></ion-spinner>
  4. <span #tt42 [hidden]="spinner_show" style="float: right; margin-right: 1em;">{{temperature}}</span>
  5. <button ion-button menuToggle>
  6. <ion-icon name="menu"></ion-icon>
  7. </button>
  8. <ion-title>Pressure</ion-title>
  9. </ion-navbar>
  10. </ion-header>
  11. <ion-content padding>
  12. <div style="margin-bottom: 2em;">
  13. Pressure control allows you to taper the amount of power applied to your pump, thereby reducting pressure. Currently only a linear gradient has been implemented. First supply the required pressure at the start of the shot.
  14. </div>
  15. <div class="mecoffee item item-block item-md"> <div class="item-inner mce-range">
  16. <div style="flex: 1 0 0;" class="label label-md">Start</div>
  17. <div style="flex: 4 0 0;" class="item item-md">
  18. <mc-range id="pp1" [(ngModel)]="pars.pp1" (ionChange)="notify($event)" min="0" max="100" step="1" unit="%" pin="true"></mc-range>
  19. </div>
  20. </div>
  21. </div>
  22. <div style="margin-bottom: 2em;">
  23. Supply the required pressure at the end of the shot.
  24. </div>
  25. <div class="mecoffee item item-block item-md"> <div class="item-inner mce-range">
  26. <div style="flex: 1 0 0;" class="label label-md">End</div>
  27. <div style="flex: 4 0 0;" class="item item-md">
  28. <mc-range id="pp2" [(ngModel)]="pars.pp2" (ionChange)="notify($event)" min="0" max="100" step="1" unit="%" pin="true"></mc-range>
  29. </div>
  30. </div>
  31. </div>
  32. <div style="margin-bottom: 2em;">
  33. Supply the required period for tapering from start to end.
  34. </div>
  35. <div class="mecoffee item item-block item-md"> <div class="item-inner mce-range">
  36. <div style="flex: 1 0 0;" class="label label-md">Period</div>
  37. <div style="flex: 4 0 0;" class="item item-md">
  38. <mc-range id="ppt" [(ngModel)]="pars.ppt" (ionChange)="notify($event)" min="10" max="60" step="1" unit="s" pin="true"></mc-range>
  39. </div>
  40. </div>
  41. </div>
  42. <div class="row" style="display: flex; flex-direction: row; align-items: center; width: 100%;">
  43. <div style="flex: 1 0 0;">
  44. <button ion-button id="defaults" [disabled]="!this.showDefaults()" (click)="doDefaults()">Defaults</button>
  45. </div>
  46. <div style="flex: 4 0 0;">
  47. <div style="float:right;">
  48. <button ion-button id="reset" [disabled]="!this.showUndo()" (click)="doUndo()">Undo</button>
  49. <button ion-button id="update" [disabled]="!this.showUpdate()" (click)="doUpdate()">Update</button>
  50. </div>
  51. </div>
  52. </div>
  53. </ion-content>