Skip to content
Browse files

Refactored statistics and generator objects / datapaths to be more ro…

…bust, universal, and extensible.
  • Loading branch information
Evan Langlais
Evan Langlais committed Apr 16, 2019
1 parent 78056d9 commit b0541e6cbc331f1c41d6b002e0e6fcd2b49c40b8

Some generated files are not rendered by default. Learn more.

@@ -8,12 +8,21 @@ export interface GeneratorObject {

export interface GeneratorState {
online: boolean;
status: string;
status_code: number;
state: string;
state_code: number;
fault_count?: number;
fault_codes?: Array<string>;
status_count?: number;
status_codes?: Array<string>;
ip?: string;

export interface GeneratorMetric {
id: string;
title: string;
units: string;
min: number;
max: number;
value?: number;
timestamp?: number;
@@ -14,6 +14,7 @@ a#genLink {
} */

mat-card.generator-card {
width: calc(100% - 70px);
height: calc(100% - 70px);
width: 300px;
height: 300px;
margin: 5px;

0 comments on commit b0541e6

Please sign in to comment.
You can’t perform that action at this time.