Ignore:
Timestamp:
10/10/12 12:12:06 (13 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/trunk/src/simulator/ConfigurationOptions.java

    r493 r495  
    6767        public static final String CREATEDIAGRAMS_UTILIZATION = CREATEDIAGRAMS + ".utilization"; 
    6868        public static final String CREATEDIAGRAMS_ENERGYUSAGE = CREATEDIAGRAMS + ".energyusage"; 
     69        public static final String CREATEDIAGRAMS_AIRFLOW = CREATEDIAGRAMS + ".airflow"; 
    6970        public static final String CREATEDIAGRAMS_RESOURCES_SCALE = CREATEDIAGRAMS_UTILIZATION + ".scale"; 
    7071        public static final String CREATEDIAGRAMS_TASKS = CREATEDIAGRAMS + ".tasks"; 
     
    163164        public boolean creatediagrams_resources = true; 
    164165        public boolean creatediagrams_energyusage = true; 
     166        public boolean creatediagrams_airflow = true; 
    165167        public boolean creatediagrams_tasks = true; 
    166168        public boolean creatediagrams_taskswaitingtime = true; 
     
    173175         
    174176        public String[] resForEnergyChart; 
     177        public String[] resForAirFlowChart; 
    175178        public String[] resForUtilizationChart; 
    176179         
     
    302305                        co.creatediagrams_energyusage = createDiagrams; 
    303306                } 
     307                 
     308                try { 
     309                        co.resForAirFlowChart = bundle.getString(CREATEDIAGRAMS_AIRFLOW).split(";"); 
     310                        if(co.resForAirFlowChart.length > 0){ 
     311                                co.creatediagrams_airflow = true && createDiagrams; 
     312                        } 
     313                } catch(MissingResourceException e){ 
     314                        co.creatediagrams_airflow = createDiagrams; 
     315                } 
     316                 
    304317                try { 
    305318                        co.creatediagrams_tasks = Boolean.valueOf( 
Note: See TracChangeset for help on using the changeset viewer.