feat(web-app): add the time series manager to the application
This commit is contained in:
@@ -7,15 +7,11 @@
|
|||||||
import { defineComponent } from "vue";
|
import { defineComponent } from "vue";
|
||||||
import HelloWorld from "./components/HelloWorld.vue";
|
import HelloWorld from "./components/HelloWorld.vue";
|
||||||
import { HttpClient } from "./Services/HttpClient";
|
import { HttpClient } from "./Services/HttpClient";
|
||||||
|
import { TimeSeriesManager } from "./TimeSeriesManager";
|
||||||
|
import { URL, USERNAME, PASSWORD } from "./const";
|
||||||
|
|
||||||
const URL = "rest.mse.kb28.ch";
|
const httpClient = new HttpClient(URL, USERNAME, PASSWORD);
|
||||||
|
const manager = new TimeSeriesManager(httpClient);
|
||||||
const username = process.env.VUE_APP_INFLUXDB_USER;
|
|
||||||
const password = process.env.VUE_APP_INFLUXDB_PASSWORD;
|
|
||||||
|
|
||||||
const httpClient = new HttpClient(URL, username, password);
|
|
||||||
|
|
||||||
const series = httpClient.getValues();
|
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "App",
|
name: "App",
|
||||||
|
|||||||
Reference in New Issue
Block a user