Changeset 1399 for DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/energy/RecsNodeBaseEEP.java
- Timestamp:
- 06/26/14 14:24:08 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/test/article2/recs/plugins/energy/RecsNodeBaseEEP.java
r1368 r1399 15 15 import schedframe.resources.computing.Processor; 16 16 import schedframe.resources.computing.profiles.energy.EnergyEvent; 17 import schedframe.resources.computing.profiles.energy.airthroughput.StandardAir ThroughputStateName;17 import schedframe.resources.computing.profiles.energy.airthroughput.StandardAirflowStateName; 18 18 import schedframe.resources.units.PEUnit; 19 19 import schedframe.resources.units.ProcessingElements; … … 57 57 try { 58 58 if(event.getReason() == EventReason.SIM_INIT) 59 airThroughput = resource.getAir ThroughputInterface().getAirFlow(StandardAirThroughputStateName.OFF);59 airThroughput = resource.getAirflowInterface().getAirflow(StandardAirflowStateName.OFF); 60 60 else 61 airThroughput = resource.getAir ThroughputInterface().getAirFlow(resource.getAirThroughputInterface().getAirThroughputState());61 airThroughput = resource.getAirflowInterface().getAirflow(resource.getAirflowInterface().getAirflowState()); 62 62 } catch (NoSuchFieldException e) { 63 63 // TODO Auto-generated catch block … … 71 71 if(id - resId == 9 || id - resId == -9){ 72 72 try { 73 airThroughput = airThroughput + compResource.getAir ThroughputInterface().getAirFlow(compResource.getAirThroughputInterface().getAirThroughputState())/2;73 airThroughput = airThroughput + compResource.getAirflowInterface().getAirflow(compResource.getAirflowInterface().getAirflowState())/2; 74 74 } catch (NoSuchFieldException e) { 75 75
Note: See TracChangeset
for help on using the changeset viewer.