Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
adjusted for merge with changes to generatorobject
  • Loading branch information
ema14006 committed Apr 12, 2019
1 parent 8d08ed2 commit b52798c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/app/statistics/statistics.component.ts
Expand Up @@ -176,9 +176,9 @@ export class StatisticsComponent implements OnInit {


}); });


this.generator = await this.data2.getGeneratorStatus(gen_id,jsonToken); this.generator = await this.data2.getGeneratorState(gen_id,jsonToken);


if (this.generator.fault_count != 0) if (this.generator.fault_count == 0)
{ {
console.log("hi"); console.log("hi");
} }
Expand All @@ -188,9 +188,7 @@ export class StatisticsComponent implements OnInit {
{ {
this.statusChange(this.testArray[i]); this.statusChange(this.testArray[i]);


} }
console.log(this.isOvercrank);
console.log(this.isOvercrank);
} }




Expand Down

0 comments on commit b52798c

Please sign in to comment.