Changeset 1318 for DCWoRMS/branches
- Timestamp:
- 03/31/14 16:01:59 (11 years ago)
- Location:
- DCWoRMS/branches/coolemall/src/schedframe/resources/computing/profiles/energy
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/schedframe/resources/computing/profiles/energy/airthroughput/AirThroughputInterfaceFactory.java
r1207 r1318 6 6 import schedframe.resources.computing.profiles.energy.airthroughput.ui.ComputingResourceAirThroughputInterface; 7 7 import schedframe.resources.devices.PhysicalResource; 8 import schedframe.resources.devices. PhysicalResourceAirThroughputInterface;8 import schedframe.resources.devices.DeviceAirThroughputInterface; 9 9 import schedframe.resources.devices.coolemall.FanAirThroughputInterface; 10 10 … … 16 16 AirThroughputInterface airThroughputInterface = null; 17 17 if(resource.getType().getName().equals(StandardResourceType.CRAH.getName())) 18 airThroughputInterface = new PhysicalResourceAirThroughputInterface(resource, atp);18 airThroughputInterface = new DeviceAirThroughputInterface(resource, atp); 19 19 else if(resource.getType().getName().equals(StandardResourceType.Fan.getName())) 20 20 airThroughputInterface = new FanAirThroughputInterface(resource, atp); … … 24 24 airThroughputInterface = new FanAirThroughputInterface(resource, atp); 25 25 else if(resource.getType().getName().equals(StandardResourceType.CoolingDevice.getName())) 26 airThroughputInterface = new PhysicalResourceAirThroughputInterface(resource, atp);26 airThroughputInterface = new DeviceAirThroughputInterface(resource, atp); 27 27 else 28 28 airThroughputInterface = new ComputingResourceAirThroughputInterface((ComputingResource)resource, atp); -
DCWoRMS/branches/coolemall/src/schedframe/resources/computing/profiles/energy/power/PowerInterfaceFactory.java
r1247 r1318 4 4 import schedframe.resources.computing.ComputingResource; 5 5 import schedframe.resources.computing.profiles.energy.power.ui.PowerInterface; 6 import schedframe.resources.devices.DevicePowerInterface; 6 7 import schedframe.resources.devices.PhysicalResource; 7 import schedframe.resources.devices.PhysicalResourcePowerInterface;8 8 9 9 public class PowerInterfaceFactory { … … 22 22 powerInterface = new schedframe.resources.computing.profiles.energy.power.ui.ProcessorPowerInterface((ComputingResource)resource, pp); 23 23 else if (resource.getType().getName().equals(StandardResourceType.CRAH.getName())) 24 powerInterface = new PhysicalResourcePowerInterface(resource, pp);24 powerInterface = new DevicePowerInterface(resource, pp); 25 25 else if (resource.getType().getName().equals(StandardResourceType.Fan.getName())) 26 powerInterface = new PhysicalResourcePowerInterface(resource, pp);26 powerInterface = new DevicePowerInterface(resource, pp); 27 27 else if (resource.getType().getName().equals(StandardResourceType.Inlet.getName())) 28 powerInterface = new PhysicalResourcePowerInterface(resource, pp);28 powerInterface = new DevicePowerInterface(resource, pp); 29 29 else if (resource.getType().getName().equals(StandardResourceType.Outlet.getName())) 30 powerInterface = new PhysicalResourcePowerInterface(resource, pp);30 powerInterface = new DevicePowerInterface(resource, pp); 31 31 else if (resource.getType().getName().equals(StandardResourceType.CoolingDevice.getName())) 32 powerInterface = new PhysicalResourcePowerInterface(resource, pp);32 powerInterface = new DevicePowerInterface(resource, pp); 33 33 else if (resource.getType().getName().equals(StandardResourceType.Heatsink.getName())) 34 powerInterface = new PhysicalResourcePowerInterface(resource, pp);34 powerInterface = new DevicePowerInterface(resource, pp); 35 35 else 36 36 powerInterface = new schedframe.resources.computing.profiles.energy.power.ui.ComputingResourcePowerInterface((ComputingResource)resource, pp);
Note: See TracChangeset
for help on using the changeset viewer.