Skip to content
Permalink
Browse files

adjusted for merge with changes to generatorobject

  • Loading branch information
ema14006 committed Apr 12, 2019
1 parent 8d08ed2 commit b52798ca460cb486ceecd200880c26cd7a6cc1d3
Showing with 3 additions and 5 deletions.
  1. +3 −5 src/app/statistics/statistics.component.ts
@@ -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");
}
@@ -188,9 +188,7 @@ export class StatisticsComponent implements OnInit {
{
this.statusChange(this.testArray[i]);

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


0 comments on commit b52798c

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