text: webpackJsonp([0],{
  
  /***/ 117:
  /***/ (function(module, exports) {
  
  function webpackEmptyAsyncContext(req) {
  	// Here Promise.resolve().then() is used instead of new Promise() to prevent
  	// uncatched exception popping up in devtools
  	return Promise.resolve().then(function() {
  		throw new Error("Cannot find module '" + req + "'.");
  	});
  }
  webpackEmptyAsyncContext.keys = function() { return []; };
  webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
  module.exports = webpackEmptyAsyncContext;
  webpackEmptyAsyncContext.id = 117;
  
  /***/ }),
  
  /***/ 160:
  /***/ (function(module, exports) {
  
  function webpackEmptyAsyncContext(req) {
  	// Here Promise.resolve().then() is used instead of new Promise() to prevent
  	// uncatched exception popping up in devtools
  	return Promise.resolve().then(function() {
  		throw new Error("Cannot find module '" + req + "'.");
  	});
  }
  webpackEmptyAsyncContext.keys = function() { return []; };
  webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;
  module.exports = webpackEmptyAsyncContext;
  webpackEmptyAsyncContext.id = 160;
  
  /***/ }),
  
  /***/ 205:
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return HomePage; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__settings_settings__ = __webpack_require__(58);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__(0);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_ionic_angular__ = __webpack_require__(44);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__ionic_native_http__ = __webpack_require__(206);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ionic_storage__ = __webpack_require__(102);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ngx_translate_core__ = __webpack_require__(103);
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  var __metadata = (this && this.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  
  
  
  
  
  
  var HomePage = (function () {
      function HomePage(navCtrl, http, platform, storage, translate) {
          this.navCtrl = navCtrl;
          this.http = http;
          this.platform = platform;
          this.storage = storage;
          this.translate = translate;
          this.consumo = 0;
          this.produzione = 0;
          this.guadagno = 0;
          this.TOKEN = "";
          this.refreshTime = 5000;
      }
      HomePage.prototype.ionViewDidEnter = function () {
          var _self = this;
          this.storage.get('refreshTime')
              .then(function (val) {
              if (val && parseInt(val) > 0) {
                  _self.refreshTime = parseInt(val) * 1000;
                  _self.storage.get('token')
                      .then(function (val) {
                      console.log('Your token is', val);
                      if (val.length > 1) {
                          _self.TOKEN = val;
                          _self.retrieveData();
                          setInterval(function () {
                              _self.retrieveData();
                          }, _self.refreshTime);
                      }
                      else {
                          console.log('TOKEN NULL');
                          _self.navCtrl.push(__WEBPACK_IMPORTED_MODULE_0__settings_settings__["a" /* SettingsPage */]);
                      }
                  })
                      .catch(function (val) {
                      console.log('TOKEN INVALID');
                      _self.navCtrl.push(__WEBPACK_IMPORTED_MODULE_0__settings_settings__["a" /* SettingsPage */]);
                  });
              }
              else {
                  console.log('REFRESH TIME NULL');
                  _self.navCtrl.push(__WEBPACK_IMPORTED_MODULE_0__settings_settings__["a" /* SettingsPage */]);
              }
          })
              .catch(function (val) {
              console.log('REFRESH TIME NOT INVALID');
              _self.navCtrl.push(__WEBPACK_IMPORTED_MODULE_0__settings_settings__["a" /* SettingsPage */]);
          });
      };
      HomePage.prototype.retrieveData = function () {
          var _self = this;
          this.http.get('https://engage.efergy.com/mobile_proxy/getCurrentValuesSummary?token=' + this.TOKEN, {}, {})
              .then(function (data) {
              console.log(data.status);
              console.log(data.data); // data received by server
              console.log(data.headers);
              var json = JSON.parse(data.data);
              for (var i = 0; i < json.length; i++) {
                  if (json[i]["cid"] == "PWER") {
                      _self.consumo = json[i]["data"][0][Object.keys(json[i]["data"][0])[0]];
                  }
                  if (json[i]["cid"] == "PWER_GAC") {
                      _self.produzione = json[i]["data"][0][Object.keys(json[i]["data"][0])[0]];
                  }
              }
              //_self.produzione-=65;
              _self.guadagno = _self.produzione - _self.consumo;
              _self.guadagno = Math.floor(_self.guadagno * 100) / 100;
          })
              .catch(function (error) {
              console.log(error.status);
              console.log(error.error); // error message as string
              console.log(error.headers);
          });
      };
      HomePage.prototype.exitApp = function () {
          this.platform.exitApp();
      };
      HomePage = __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["m" /* Component */])({
              selector: 'page-home',template:/*ion-inline-start:"C:\Personal\MarcoIannucci\AppMonitor\src\pages\home\home.html"*/'<ion-header>\n  <ion-navbar>\n    <button ion-button menuToggle>\n      <ion-icon name="menu"></ion-icon>\n    </button>\n    <ion-title>{{ \'SOLAR_PLANT\' | translate }}</ion-title>\n  </ion-navbar>\n</ion-header>\n\n<ion-content padding style="text-align: center">\n  <ion-grid style="width:100%; height: 90%">\n    <ion-row>\n      <ion-col col-12 style="text-align: center">\n        <div *ngIf="guadagno>0;else bad_img">\n          <ion-img [width]="50" [height]="50" src="assets/imgs/earn_ok.png"></ion-img>\n        </div>\n        <ng-template #bad_img><ion-img [width]="50" [height]="50" src="assets/imgs/earn_bad.png"></ion-img></ng-template>   \n      </ion-col> \n        \n    </ion-row>\n    <ion-row style="color:red">\n      <ion-col col-2 style="text-align: left;">\n        <ion-img [width]="30" [height]="30" src="assets/imgs/consumption.png"></ion-img>\n      </ion-col>\n      <ion-col col-10 style="text-align: left">\n        <h1>{{ \'CONSUME_TEXT\' | translate }}: {{consumo}}W</h1>\n      </ion-col>\n    </ion-row>\n    <ion-row *ngIf="produzione>0" style="color:blue">\n      <ion-col col-2 style="text-align: left;">\n        <ion-img [width]="30" [height]="30" src="assets/imgs/production.png"></ion-img>\n      </ion-col>\n      <ion-col col-10 style="text-align: left">\n        <h1>{{ \'PRODUCTION_TEXT\' | translate }}: {{produzione}}W</h1>\n      </ion-col>\n    </ion-row>\n    <ion-row *ngIf="produzione>0" style="color:green">\n      <ion-col col-2 style="text-align: left;">\n        <ion-img [width]="30" [height]="30" src="assets/imgs/earn.png"></ion-img>\n      </ion-col>\n      <ion-col col-10 style="text-align: left">\n        <h1>{{ \'GAIN_TEXT\' | translate }}: {{guadagno}}W</h1>\n      </ion-col>\n    </ion-row>\n  </ion-grid>\n\n  <button style="width: 100%; height: 8%;" ion-button secondary (click)="exitApp()">{{ \'EXIT\' | translate }}</button>\n</ion-content>\n'/*ion-inline-end:"C:\Personal\MarcoIannucci\AppMonitor\src\pages\home\home.html"*/
          }),
          __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_2_ionic_angular__["e" /* NavController */],
              __WEBPACK_IMPORTED_MODULE_3__ionic_native_http__["a" /* HTTP */],
              __WEBPACK_IMPORTED_MODULE_2_ionic_angular__["g" /* Platform */],
              __WEBPACK_IMPORTED_MODULE_4__ionic_storage__["b" /* Storage */],
              __WEBPACK_IMPORTED_MODULE_5__ngx_translate_core__["c" /* TranslateService */]])
      ], HomePage);
      return HomePage;
  }());
  
  //# sourceMappingURL=home.js.map
  
  /***/ }),
  
  /***/ 207:
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__ = __webpack_require__(208);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app_module__ = __webpack_require__(227);
  
  
  //enableProdMode();
  Object(__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])().bootstrapModule(__WEBPACK_IMPORTED_MODULE_1__app_module__["a" /* AppModule */]);
  //# sourceMappingURL=main.js.map
  
  /***/ }),
  
  /***/ 227:
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* unused harmony export HttpLoaderFactory */
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__pages_settings_settings__ = __webpack_require__(58);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser__ = __webpack_require__(29);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_core__ = __webpack_require__(0);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_ionic_angular__ = __webpack_require__(44);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ngx_translate_http_loader__ = __webpack_require__(271);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__app_component__ = __webpack_require__(273);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_home_home__ = __webpack_require__(205);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__ionic_storage__ = __webpack_require__(102);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__ionic_native_status_bar__ = __webpack_require__(202);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__ionic_native_splash_screen__ = __webpack_require__(204);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__ionic_native_http__ = __webpack_require__(206);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__ngx_translate_core__ = __webpack_require__(103);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__angular_common_http__ = __webpack_require__(289);
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  
  
  
  
  
  //import { Http, HttpModule } from '@angular/http';
  
  
  
  
  
  
  
  
  // The translate loader needs to know where to load i18n files
  // in Ionic's static asset pipeline.
  function HttpLoaderFactory(http) {
      return new __WEBPACK_IMPORTED_MODULE_4__ngx_translate_http_loader__["a" /* TranslateHttpLoader */](http, './assets/i18n/', '.json');
  }
  var AppModule = (function () {
      function AppModule() {
      }
      AppModule = __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_2__angular_core__["I" /* NgModule */])({
              declarations: [
                  __WEBPACK_IMPORTED_MODULE_5__app_component__["a" /* MyApp */],
                  __WEBPACK_IMPORTED_MODULE_6__pages_home_home__["a" /* HomePage */],
                  __WEBPACK_IMPORTED_MODULE_0__pages_settings_settings__["a" /* SettingsPage */]
              ],
              imports: [
                  __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser__["a" /* BrowserModule */],
                  __WEBPACK_IMPORTED_MODULE_12__angular_common_http__["b" /* HttpClientModule */],
                  __WEBPACK_IMPORTED_MODULE_3_ionic_angular__["c" /* IonicModule */].forRoot(__WEBPACK_IMPORTED_MODULE_5__app_component__["a" /* MyApp */], {}, {
                      links: []
                  }),
                  __WEBPACK_IMPORTED_MODULE_7__ionic_storage__["a" /* IonicStorageModule */].forRoot(),
                  __WEBPACK_IMPORTED_MODULE_11__ngx_translate_core__["b" /* TranslateModule */].forRoot({
                      loader: {
                          provide: __WEBPACK_IMPORTED_MODULE_11__ngx_translate_core__["a" /* TranslateLoader */],
                          useFactory: HttpLoaderFactory,
                          deps: [__WEBPACK_IMPORTED_MODULE_12__angular_common_http__["a" /* HttpClient */]]
                      }
                  }),
              ],
              bootstrap: [__WEBPACK_IMPORTED_MODULE_3_ionic_angular__["a" /* IonicApp */]],
              entryComponents: [
                  __WEBPACK_IMPORTED_MODULE_5__app_component__["a" /* MyApp */],
                  __WEBPACK_IMPORTED_MODULE_6__pages_home_home__["a" /* HomePage */],
                  __WEBPACK_IMPORTED_MODULE_0__pages_settings_settings__["a" /* SettingsPage */]
              ],
              providers: [
                  __WEBPACK_IMPORTED_MODULE_8__ionic_native_status_bar__["a" /* StatusBar */],
                  __WEBPACK_IMPORTED_MODULE_9__ionic_native_splash_screen__["a" /* SplashScreen */],
                  __WEBPACK_IMPORTED_MODULE_10__ionic_native_http__["a" /* HTTP */],
                  Storage,
                  { provide: __WEBPACK_IMPORTED_MODULE_2__angular_core__["u" /* ErrorHandler */], useClass: __WEBPACK_IMPORTED_MODULE_3_ionic_angular__["b" /* IonicErrorHandler */] }
              ]
          })
      ], AppModule);
      return AppModule;
  }());
  
  //# sourceMappingURL=app.module.js.map
  
  /***/ }),
  
  /***/ 273:
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return MyApp; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__ngx_translate_core__ = __webpack_require__(103);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__pages_settings_settings__ = __webpack_require__(58);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_core__ = __webpack_require__(0);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_ionic_angular__ = __webpack_require__(44);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__ = __webpack_require__(202);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__ionic_native_splash_screen__ = __webpack_require__(204);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__pages_home_home__ = __webpack_require__(205);
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  var __metadata = (this && this.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  
  
  
  
  
  
  
  var MyApp = (function () {
      function MyApp(platform, statusBar, splashScreen, translate) {
          this.platform = platform;
          this.statusBar = statusBar;
          this.splashScreen = splashScreen;
          this.translate = translate;
          this.rootPage = __WEBPACK_IMPORTED_MODULE_6__pages_home_home__["a" /* HomePage */];
          this.initializeApp();
          this.initTranslate();
          // used for an example of ngFor and navigation
          this.pages = [
              { title: 'Fotovoltaico', component: __WEBPACK_IMPORTED_MODULE_6__pages_home_home__["a" /* HomePage */] },
              { title: 'Impostazioni', component: __WEBPACK_IMPORTED_MODULE_1__pages_settings_settings__["a" /* SettingsPage */] }
          ];
      }
      MyApp.prototype.initializeApp = function () {
          var _this = this;
          this.platform.ready().then(function () {
              // Okay, so the platform is ready and our plugins are available.
              // Here you can do any higher level native things you might need.
              _this.statusBar.styleDefault();
              _this.splashScreen.hide();
          });
      };
      MyApp.prototype.openPage = function (page) {
          // Reset the content nav to have just this page
          // we wouldn't want the back button to show in this scenario
          this.nav.setRoot(page.component);
      };
      MyApp.prototype.initTranslate = function () {
          // Set the default language for translation strings, and the current language.
          this.translate.setDefaultLang('en');
          if (this.translate.getBrowserLang() !== undefined) {
              this.translate.use(this.translate.getBrowserLang());
          }
          else {
              this.translate.use('en'); // Set your language here
          }
      };
      __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_2__angular_core__["_8" /* ViewChild */])(__WEBPACK_IMPORTED_MODULE_3_ionic_angular__["d" /* Nav */]),
          __metadata("design:type", __WEBPACK_IMPORTED_MODULE_3_ionic_angular__["d" /* Nav */])
      ], MyApp.prototype, "nav", void 0);
      MyApp = __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_2__angular_core__["m" /* Component */])({template:/*ion-inline-start:"C:\Personal\MarcoIannucci\AppMonitor\src\app\app.html"*/'<ion-menu [content]="content">\n  <ion-header>\n    <ion-toolbar>\n      <ion-title>Menu</ion-title>\n    </ion-toolbar>\n  </ion-header>\n\n  <ion-content>\n    <ion-list>\n      <button menuClose ion-item *ngFor="let p of pages" (click)="openPage(p)">\n        {{p.title}}\n      </button>\n    </ion-list>\n  </ion-content>\n\n</ion-menu>\n\n<!-- Disable swipe-to-go-back because it\'s poor UX to combine STGB with side menus -->\n<ion-nav [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>'/*ion-inline-end:"C:\Personal\MarcoIannucci\AppMonitor\src\app\app.html"*/
          }),
          __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_3_ionic_angular__["g" /* Platform */],
              __WEBPACK_IMPORTED_MODULE_4__ionic_native_status_bar__["a" /* StatusBar */],
              __WEBPACK_IMPORTED_MODULE_5__ionic_native_splash_screen__["a" /* SplashScreen */],
              __WEBPACK_IMPORTED_MODULE_0__ngx_translate_core__["c" /* TranslateService */]])
      ], MyApp);
      return MyApp;
  }());
  
  //# sourceMappingURL=app.component.js.map
  
  /***/ }),
  
  /***/ 58:
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return SettingsPage; });
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__(0);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_ionic_angular__ = __webpack_require__(44);
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__ionic_storage__ = __webpack_require__(102);
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  var __metadata = (this && this.__metadata) || function (k, v) {
      if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
  };
  
  
  
  var SettingsPage = (function () {
      function SettingsPage(navCtrl, navParams, storage) {
          this.navCtrl = navCtrl;
          this.navParams = navParams;
          this.storage = storage;
          this.TOKEN = "";
          this.token_valid = false;
          this.refreshTime = 5;
      }
      SettingsPage.prototype.ionViewWillEnter = function () {
          var _self = this;
          this.storage.get('token')
              .then(function (val) {
              console.log('Your token is', val);
              _self.TOKEN = val;
              _self.token_valid = true;
          })
              .catch(function (val) {
              console.log('TOKEN INVALID!!');
          });
          this.storage.get('refreshTime')
              .then(function (val) {
              if (val) {
                  console.log('Refresh time: ', val);
                  _self.refreshTime = val;
              }
          })
              .catch(function (val) {
              console.log('Refresh time not valid!');
          });
      };
      SettingsPage.prototype.onBtnSave = function () {
          console.log("SAVE");
          this.storage.set('token', this.TOKEN)
              .then(function (a) {
              console.log("OK", a);
          })
              .catch(function (err) {
              console.log("ERR", err);
          });
          this.storage.set('refreshTime', this.refreshTime)
              .then(function (a) {
              console.log("OK", a);
          })
              .catch(function (err) {
              console.log("ERR", err);
          });
      };
      SettingsPage = __decorate([
          Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["m" /* Component */])({
              selector: 'page-settings',template:/*ion-inline-start:"C:\Personal\MarcoIannucci\AppMonitor\src\pages\settings\settings.html"*/'<ion-header>\n  <ion-navbar>\n    <button ion-button menuToggle>\n      <ion-icon name="menu"></ion-icon>\n    </button>\n    <ion-title>{{ \'SETTINGS\' | translate }}</ion-title>\n  </ion-navbar>\n</ion-header>\n\n<ion-content>\n  <h1 *ngIf="token_valid">TOKEN {{ \'NOT_VALID\' | translate }}</h1>\n  <ion-item>\n    <ion-label color="primary">TOKEN</ion-label>\n    <ion-input placeholder="token" [(ngModel)]="TOKEN">{{TOKEN}}</ion-input>\n  </ion-item>\n  <ion-item>\n    <ion-label color="primary">REFRESH TIME</ion-label>\n    <ion-select [(ngModel)]="refreshTime" interface="popover">\n      <ion-option value="5" selected="true">5s</ion-option>\n      <ion-option value="10">10s</ion-option>\n      <ion-option value="15">15s</ion-option>\n      <ion-option value="30">30s</ion-option>\n    </ion-select>\n  </ion-item>\n  \n  <button ion-button (click)="onBtnSave()" full>{{ \'SAVE\' | translate }}</button>\n\n  <h3 style="margin-top: 50px">Credits: <a href="http://www.mirkomancin.it">MIRKO MANCIN</a></h3>\n  \n</ion-content>\n'/*ion-inline-end:"C:\Personal\MarcoIannucci\AppMonitor\src\pages\settings\settings.html"*/
          }),
          __metadata("design:paramtypes", [__WEBPACK_IMPORTED_MODULE_1_ionic_angular__["e" /* NavController */],
              __WEBPACK_IMPORTED_MODULE_1_ionic_angular__["f" /* NavParams */],
              __WEBPACK_IMPORTED_MODULE_2__ionic_storage__["b" /* Storage */]])
      ], SettingsPage);
      return SettingsPage;
  }());
  
  //# sourceMappingURL=settings.js.map
  
  /***/ })
  
  },[207]);
  //# sourceMappingURL=main.js.map