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/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.