Ignore:
Timestamp:
03/31/14 16:01:31 (11 years ago)
Author:
wojtekp
Message:
 
Location:
DCWoRMS/branches/coolemall/src/schedframe/resources/devices
Files:
1 added
1 deleted
2 edited
2 moved

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/schedframe/resources/devices/DeviceAirThroughputInterface.java

    r1207 r1317  
    1616import schedframe.resources.computing.profiles.energy.airthroughput.ui.AirThroughputInterface; 
    1717 
    18 public class PhysicalResourceAirThroughputInterface implements AirThroughputInterface{ 
     18public class DeviceAirThroughputInterface implements AirThroughputInterface{ 
    1919 
    2020        protected AirThroughputStateName currentAirThroughputState; 
     
    2222        protected PhysicalResource resource; 
    2323         
    24         public PhysicalResourceAirThroughputInterface(PhysicalResource resource, AirThroughputProfile airThroughputProfile){ 
     24        public DeviceAirThroughputInterface(PhysicalResource resource, AirThroughputProfile airThroughputProfile){ 
    2525                this.resource = resource; 
    2626                this.airThroughputProfile = airThroughputProfile; 
  • DCWoRMS/branches/coolemall/src/schedframe/resources/devices/DeviceThermalInterface.java

    r1207 r1317  
    1010import schedframe.resources.computing.profiles.energy.thermal.ui.ThermalInterface; 
    1111 
    12 public class PhysicalResourceThermalInterface implements ThermalInterface{ 
     12public class DeviceThermalInterface implements ThermalInterface{ 
    1313 
    1414        private static int START_TEMP = 0; 
     
    1616        protected ThermalProfile thermalProfile; 
    1717 
    18         public PhysicalResourceThermalInterface(PhysicalResource resource, ThermalProfile thermalProfile) { 
     18        public DeviceThermalInterface(PhysicalResource resource, ThermalProfile thermalProfile) { 
    1919                super(); 
    2020                this.resource = resource; 
  • DCWoRMS/branches/coolemall/src/schedframe/resources/devices/coolemall/FanAirThroughputInterface.java

    r1207 r1317  
    44import schedframe.resources.computing.profiles.energy.airthroughput.UserAirThroughputStateName; 
    55import schedframe.resources.devices.PhysicalResource; 
    6 import schedframe.resources.devices.PhysicalResourceAirThroughputInterface; 
     6import schedframe.resources.devices.DeviceAirThroughputInterface; 
    77 
    8 public class FanAirThroughputInterface extends PhysicalResourceAirThroughputInterface { 
     8public class FanAirThroughputInterface extends DeviceAirThroughputInterface { 
    99 
    1010        public FanAirThroughputInterface(PhysicalResource resource, AirThroughputProfile airThroughputProfile) { 
  • DCWoRMS/branches/coolemall/src/schedframe/resources/devices/description/PhysicalResourceDescription.java

    r1294 r1317  
    4848        } 
    4949 
     50        public void addChildren(PhysicalResourceDescription child) { 
     51                super.addChildren(child); 
     52                if(child.getLoadProfile().getLoadCalendar().getLoadDistribution().size() == 0){ 
     53                        child.getLoadProfile().getLoadCalendar().getLoadDistribution().addAll(this.getLoadProfile().getLoadCalendar().getLoadDistribution()); 
     54                } 
     55        } 
     56         
    5057        protected void initProfiles(Profile profile) { 
    5158                if (profile != null) { 
Note: See TracChangeset for help on using the changeset viewer.