- Timestamp:
- 03/31/14 16:01:31 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/schedframe/resources/computing/profiles/energy/thermal/ThermalInterfaceFactory.java
r1292 r1317 6 6 import schedframe.resources.computing.profiles.energy.thermal.ui.ThermalInterface; 7 7 import schedframe.resources.devices.PhysicalResource; 8 import schedframe.resources.devices. PhysicalResourceThermalInterface;8 import schedframe.resources.devices.DeviceThermalInterface; 9 9 10 10 public class ThermalInterfaceFactory { … … 14 14 ThermalInterface thermalInterface; 15 15 if (resource.getType().getName().equals(StandardResourceType.CRAH.getName())) 16 thermalInterface = new PhysicalResourceThermalInterface(resource, tp);16 thermalInterface = new DeviceThermalInterface(resource, tp); 17 17 else if (resource.getType().getName().equals(StandardResourceType.Fan.getName())) 18 thermalInterface = new PhysicalResourceThermalInterface(resource, tp);18 thermalInterface = new DeviceThermalInterface(resource, tp); 19 19 else if(resource.getType().getName().equals(StandardResourceType.Inlet.getName())) 20 thermalInterface = new PhysicalResourceThermalInterface(resource, tp);20 thermalInterface = new DeviceThermalInterface(resource, tp); 21 21 else if(resource.getType().getName().equals(StandardResourceType.Outlet.getName())) 22 thermalInterface = new PhysicalResourceThermalInterface(resource, tp);22 thermalInterface = new DeviceThermalInterface(resource, tp); 23 23 else 24 24 thermalInterface = new ComputingResourceThermalInterface((ComputingResource)resource, tp);
Note: See TracChangeset
for help on using the changeset viewer.