Ignore:
Timestamp:
03/31/14 16:01:31 (11 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/schedframe/resources/computing/profiles/energy/thermal/ThermalInterfaceFactory.java

    r1292 r1317  
    66import schedframe.resources.computing.profiles.energy.thermal.ui.ThermalInterface; 
    77import schedframe.resources.devices.PhysicalResource; 
    8 import schedframe.resources.devices.PhysicalResourceThermalInterface; 
     8import schedframe.resources.devices.DeviceThermalInterface; 
    99 
    1010public class ThermalInterfaceFactory { 
     
    1414                ThermalInterface thermalInterface; 
    1515                if (resource.getType().getName().equals(StandardResourceType.CRAH.getName())) 
    16                         thermalInterface = new PhysicalResourceThermalInterface(resource, tp); 
     16                        thermalInterface = new DeviceThermalInterface(resource, tp); 
    1717                else if (resource.getType().getName().equals(StandardResourceType.Fan.getName())) 
    18                         thermalInterface = new PhysicalResourceThermalInterface(resource, tp); 
     18                        thermalInterface = new DeviceThermalInterface(resource, tp); 
    1919                else if(resource.getType().getName().equals(StandardResourceType.Inlet.getName())) 
    20                         thermalInterface = new PhysicalResourceThermalInterface(resource, tp); 
     20                        thermalInterface = new DeviceThermalInterface(resource, tp); 
    2121                else if(resource.getType().getName().equals(StandardResourceType.Outlet.getName())) 
    22                         thermalInterface = new PhysicalResourceThermalInterface(resource, tp); 
     22                        thermalInterface = new DeviceThermalInterface(resource, tp); 
    2323                else  
    2424                        thermalInterface = new ComputingResourceThermalInterface((ComputingResource)resource, tp); 
Note: See TracChangeset for help on using the changeset viewer.