app.module.ts 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. import { NgModule, ErrorHandler } from '@angular/core';
  2. import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
  3. import { MyApp } from './app.component';
  4. import { Page1 } from '../pages/page1/page1';
  5. import { PressurePage } from '../pages/pressure/pressure';
  6. import { PreinfusionPage } from '../pages/preinfusion/preinfusion';
  7. import { TemperaturePage } from '../pages/temperature/temperature';
  8. import { TimersPage } from '../pages/timers/timers';
  9. import { PIDPage } from '../pages/pid/pid';
  10. import { HardwarePage } from '../pages/hardware/hardware';
  11. import { InstallationPage } from '../pages/installation/installation';
  12. import { AboutPage } from '../pages/about/about';
  13. import { DemosPage } from '../pages/demos/demos';
  14. import { SettingBasePage } from '../pages/setting-base/setting-base';
  15. import { StatusBar } from '@ionic-native/status-bar';
  16. import { SplashScreen } from '@ionic-native/splash-screen';
  17. import { InAppBrowser } from '@ionic-native/in-app-browser';
  18. import { McRangeComponent } from '../components/mc-range/mc-range';
  19. import { MeBaristaService } from '../providers/me-barista-service';
  20. import { File } from '@ionic-native/file';
  21. @NgModule({
  22. declarations: [
  23. MyApp,
  24. Page1,
  25. PressurePage,
  26. PreinfusionPage,
  27. TemperaturePage,
  28. TimersPage,
  29. HardwarePage,
  30. InstallationPage,
  31. PIDPage,
  32. AboutPage,
  33. DemosPage,
  34. McRangeComponent,
  35. SettingBasePage
  36. ],
  37. imports: [
  38. IonicModule.forRoot(MyApp)
  39. ],
  40. bootstrap: [IonicApp],
  41. entryComponents: [
  42. MyApp,
  43. Page1,
  44. PressurePage,
  45. PreinfusionPage,
  46. TemperaturePage,
  47. TimersPage,
  48. HardwarePage,
  49. InstallationPage,
  50. PIDPage,
  51. AboutPage,
  52. DemosPage,
  53. ],
  54. providers: [
  55. InAppBrowser,
  56. StatusBar,
  57. SplashScreen,
  58. MeBaristaService,
  59. File,
  60. ,
  61. {provide: ErrorHandler, useClass: IonicErrorHandler}
  62. ]
  63. })
  64. export class AppModule {}