Changeset 1396 for DCWoRMS/branches/coolemall/src/schedframe/resources/computing/profiles/energy/EnergyExtension.java
- Timestamp:
- 06/26/14 14:18:01 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/schedframe/resources/computing/profiles/energy/EnergyExtension.java
r1389 r1396 10 10 import schedframe.resources.computing.extensions.ExtensionException; 11 11 import schedframe.resources.computing.extensions.ExtensionType; 12 import schedframe.resources.computing.profiles.energy.airthroughput.Air ThroughputInterfaceFactory;13 import schedframe.resources.computing.profiles.energy.airthroughput.Air ThroughputProfile;14 import schedframe.resources.computing.profiles.energy.airthroughput.ui.Air ThroughputInterface;12 import schedframe.resources.computing.profiles.energy.airthroughput.AirflowInterfaceFactory; 13 import schedframe.resources.computing.profiles.energy.airthroughput.AirflowProfile; 14 import schedframe.resources.computing.profiles.energy.airthroughput.ui.AirflowInterface; 15 15 import schedframe.resources.computing.profiles.energy.power.PowerInterfaceFactory; 16 16 import schedframe.resources.computing.profiles.energy.power.PowerProfile; … … 30 30 protected PowerProfile powerProfile; 31 31 32 protected Air ThroughputInterface airFlowInterface;33 protected Air ThroughputProfile airFlowProfile;32 protected AirflowInterface airflowInterface; 33 protected AirflowProfile airflowProfile; 34 34 35 35 protected ThermalInterface thermalInterface; … … 74 74 protected PowerProfile powerProfile; 75 75 76 protected Air ThroughputInterface airFlowInterface;77 protected Air ThroughputProfile airFlowProfile;76 protected AirflowInterface airflowInterface; 77 protected AirflowProfile airflowProfile; 78 78 79 79 protected ThermalInterface thermalInterface; … … 84 84 public Builder powerProfile(PowerProfile pp){this.powerProfile = pp; this.powerInterface = PowerInterfaceFactory.createPowerInterface(resource, powerProfile); return this; } 85 85 86 public Builder air FlowProfile(AirThroughputProfile atp){this.airFlowProfile = atp; this.airFlowInterface = AirThroughputInterfaceFactory.createAirThroughputInterface(resource, airFlowProfile); return this; }86 public Builder airflowProfile(AirflowProfile atp){this.airflowProfile = atp; this.airflowInterface = AirflowInterfaceFactory.createAirflowInterface(resource, airflowProfile); return this; } 87 87 88 88 public Builder thermalProfile(ThermalProfile tp){this.thermalProfile = tp; this.thermalInterface = ThermalInterfaceFactory.createThermalInterface(resource, thermalProfile); return this; } … … 98 98 this.powerProfile = builder.powerProfile; 99 99 100 this.air FlowInterface = builder.airFlowInterface ;101 this.air FlowProfile = builder.airFlowProfile;100 this.airflowInterface = builder.airflowInterface ; 101 this.airflowProfile = builder.airflowProfile; 102 102 103 103 this.thermalInterface = builder.thermalInterface; … … 163 163 164 164 case AIRFLOW_STATE_CHANGED: 165 double air Flow = powerProfile.getEnergyEstimationPlugin().estimateAirThroughput(enEvent, new JobRegistryImpl(resource.getFullName()), resource);166 air FlowProfile.addToAirFlowHistory(airFlow);165 double airflow = powerProfile.getEnergyEstimationPlugin().estimateAirflow(enEvent, new JobRegistryImpl(resource.getFullName()), resource); 166 airflowProfile.addToAirFlowHistory(airflow); 167 167 break; 168 168 … … 204 204 } 205 205 206 public Air ThroughputInterface getAirThroughputInterface() {207 return air FlowInterface;208 } 209 210 public Air ThroughputProfile getAirFlowProfile() {211 return air FlowProfile;206 public AirflowInterface getAirflowInterface() { 207 return airflowInterface; 208 } 209 210 public AirflowProfile getAirFlowProfile() { 211 return airflowProfile; 212 212 } 213 213
Note: See TracChangeset
for help on using the changeset viewer.