Add status to frontend

This commit is contained in:
Your Name 2020-01-20 14:41:14 +00:00
parent 31dadde7fa
commit 5a63f6d78c
1 changed files with 3 additions and 3 deletions

View File

@ -40,8 +40,8 @@
</v-card> </v-card>
</v-col> </v-col>
</v-row> </v-row>
<v-row><v-col><v-card><v-card-title>Current Time</v-card-title> <v-row><v-col><v-card><v-card-title>WS Status</v-card-title>
<v-card-text>{{ iterator }} of {{ maxframes }} Seconds (10x rate)</v-card-text></v-card></v-col></v-row> <v-card-text><h1>{{ Status }}</h1></v-card-text></v-card></v-col></v-row>
</v-content> </v-content>
</v-app> </v-app>
</div> </div>
@ -62,11 +62,11 @@
rpm: [], rpm: [],
psi: [], psi: [],
maxframes: 0, maxframes: 0,
iterator: 0,
currentSpeed: 0, currentSpeed: 0,
currentRPM: 0, currentRPM: 0,
currentPSI: 0, currentPSI: 0,
sock: {}, sock: {},
Status: 'Loading',
} }
}, },
mounted: function() { //initialize gauges mounted: function() { //initialize gauges