Commit 6405a9c3 authored by Georgios Dagkakis's avatar Georgios Dagkakis Committed by Jérome Perrin

repairman.outputresults updated so that the class is correct for operator....

repairman.outputresults updated so that the class is correct for operator. repairman and operator should collapse to 1 object
parent 37603f43
......@@ -120,7 +120,7 @@ class Repairman(ObjectResource):
# if we had just one replication output the results to JSON
if(G.numberOfReplications==1):
json={}
json['_class'] = 'Dream.Repairman';
json['_class'] = 'Dream.'+self.type;
json['id'] = str(self.id)
json['results'] = {}
json['results']['working_ratio']=100*self.totalWorkingTime/G.maxSimTime
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment