Changeset 1318 for DCWoRMS/branches


Ignore:
Timestamp:
03/31/14 16:01:59 (11 years ago)
Author:
wojtekp
Message:
 
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  
    66import schedframe.resources.computing.profiles.energy.airthroughput.ui.ComputingResourceAirThroughputInterface; 
    77import schedframe.resources.devices.PhysicalResource; 
    8 import schedframe.resources.devices.PhysicalResourceAirThroughputInterface; 
     8import schedframe.resources.devices.DeviceAirThroughputInterface; 
    99import schedframe.resources.devices.coolemall.FanAirThroughputInterface; 
    1010 
     
    1616                AirThroughputInterface airThroughputInterface = null; 
    1717                if(resource.getType().getName().equals(StandardResourceType.CRAH.getName())) 
    18                         airThroughputInterface = new PhysicalResourceAirThroughputInterface(resource, atp); 
     18                        airThroughputInterface = new DeviceAirThroughputInterface(resource, atp); 
    1919                else if(resource.getType().getName().equals(StandardResourceType.Fan.getName())) 
    2020                        airThroughputInterface = new FanAirThroughputInterface(resource, atp); 
     
    2424                        airThroughputInterface = new FanAirThroughputInterface(resource, atp); 
    2525                else if(resource.getType().getName().equals(StandardResourceType.CoolingDevice.getName())) 
    26                         airThroughputInterface = new PhysicalResourceAirThroughputInterface(resource, atp); 
     26                        airThroughputInterface = new DeviceAirThroughputInterface(resource, atp); 
    2727                else 
    2828                        airThroughputInterface = new ComputingResourceAirThroughputInterface((ComputingResource)resource, atp); 
  • DCWoRMS/branches/coolemall/src/schedframe/resources/computing/profiles/energy/power/PowerInterfaceFactory.java

    r1247 r1318  
    44import schedframe.resources.computing.ComputingResource; 
    55import schedframe.resources.computing.profiles.energy.power.ui.PowerInterface; 
     6import schedframe.resources.devices.DevicePowerInterface; 
    67import schedframe.resources.devices.PhysicalResource; 
    7 import schedframe.resources.devices.PhysicalResourcePowerInterface; 
    88 
    99public class PowerInterfaceFactory { 
     
    2222                        powerInterface = new schedframe.resources.computing.profiles.energy.power.ui.ProcessorPowerInterface((ComputingResource)resource, pp); 
    2323                else if (resource.getType().getName().equals(StandardResourceType.CRAH.getName())) 
    24                         powerInterface = new PhysicalResourcePowerInterface(resource, pp); 
     24                        powerInterface = new DevicePowerInterface(resource, pp); 
    2525                else if (resource.getType().getName().equals(StandardResourceType.Fan.getName())) 
    26                         powerInterface = new PhysicalResourcePowerInterface(resource, pp); 
     26                        powerInterface = new DevicePowerInterface(resource, pp); 
    2727                else if (resource.getType().getName().equals(StandardResourceType.Inlet.getName())) 
    28                         powerInterface = new PhysicalResourcePowerInterface(resource, pp); 
     28                        powerInterface = new DevicePowerInterface(resource, pp); 
    2929                else if (resource.getType().getName().equals(StandardResourceType.Outlet.getName())) 
    30                         powerInterface = new PhysicalResourcePowerInterface(resource, pp); 
     30                        powerInterface = new DevicePowerInterface(resource, pp); 
    3131                else if (resource.getType().getName().equals(StandardResourceType.CoolingDevice.getName())) 
    32                         powerInterface = new PhysicalResourcePowerInterface(resource, pp); 
     32                        powerInterface = new DevicePowerInterface(resource, pp); 
    3333                else if (resource.getType().getName().equals(StandardResourceType.Heatsink.getName())) 
    34                         powerInterface = new PhysicalResourcePowerInterface(resource, pp); 
     34                        powerInterface = new DevicePowerInterface(resource, pp); 
    3535                else  
    3636                        powerInterface = new schedframe.resources.computing.profiles.energy.power.ui.ComputingResourcePowerInterface((ComputingResource)resource, pp); 
Note: See TracChangeset for help on using the changeset viewer.