preinfusion.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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>Preinfusion</ion-title>
  9. </ion-navbar>
  10. </ion-header>
  11. <ion-content padding>
  12. <div style="margin-bottom: 2em;">Preinfusion lets you pause the pump for a while to <i>weld</i> the puck. Optionally, it is possible to keep the valve open during pausing.</div>
  13. <div class="mecoffee item item-block item-md"> <div class="item-inner">
  14. <div style="flex: 1 0 0;" class="label label-md">Enable</div>
  15. <div style="flex: 4 0 0;" class="item item-md">
  16. <ion-toggle id="pinbl" [(ngModel)]="pars.pinbl" (ionChange)="notify($event)" style="float:right;"></ion-toggle>
  17. </div>
  18. </div></div>
  19. <div style="margin-bottom: 2em;">The first stage of preinfusion is welding the puck. Configure how many seconds to run the pump to weld the puck.</div>
  20. <div class="mecoffee item item-block item-md"> <div class="item-inner mce-range">
  21. <div style="flex: 1 0 0;" class="label label-md">Pump</div>
  22. <div style="flex: 4 0 0;" class="item item-md">
  23. <mc-range id="pistrt" [(ngModel)]="pars.pistrt" (ionChange)="notify($event)" min="2" max="10" step="0.1" unit="s" pin="true">
  24. </mc-range>
  25. </div>
  26. </div></div>
  27. <div style="margin-bottom: 2em;">On machines with electrical valves, configure to operate the valve during welding or leave it open.</div>
  28. <div class="mecoffee item item-block item-md"> <div class="item-inner">
  29. <div style="flex: 1 0 0;" class="label label-md">Close valve</div>
  30. <div style="flex: 4 0 0;" class="item item-md">
  31. <ion-toggle id="pivlv" [(ngModel)]="pars.pivlv" (ionChange)="notify($event)" style="float:right;"></ion-toggle>
  32. </div>
  33. </div></div>
  34. <div style="margin-bottom: 2em;">Configure the time to leave the puck welding.</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">Weld</div>
  37. <div style="flex: 4 0 0;" class="item item-md">
  38. <mc-range id="piprd" [(ngModel)]="pars.piprd" (ionChange)="notify($event)" min="2" max="10" step="0.1" unit="s" pin="true">
  39. </mc-range>
  40. </div>
  41. </div></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>