Changeset 176 for xssim/trunk/src


Ignore:
Timestamp:
03/16/12 13:09:18 (13 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • xssim/trunk/src/test/rewolucja/energy/profile/PowerProfileFactory.java

    r130 r176  
    1111public class PowerProfileFactory { 
    1212         
    13         public static PowerInterface createPowerProfile(ComputingResource resource, EnergyExtension ee){ 
     13        /*public static PowerInterface createPowerProfile(ComputingResource resource, EnergyExtension ee){ 
    1414 
    1515                PowerInterface powerProfile; 
    1616                if(true){ 
    1717                        String cpuPowerClass = null; 
    18                         /*if(cpuPowerClass != null) { 
     18                        if(cpuPowerClass != null) { 
    1919                                powerProfile = (PowerInterface) InstanceFactory.createInstance( 
    2020                                                                                                                cpuPowerClass, PowerInterface.class); 
     
    2929                                } 
    3030                                 
    31                         } else {*/ 
     31                        } else { 
    3232                                switch(resource.getType()){ 
    3333                                        case COMPUTING_GRID: powerProfile = null; 
     
    4545                } 
    4646                return powerProfile; 
    47         } 
     47        }*/ 
    4848         
    4949        public static PowerInterface createPowerProfile(ResourceType resourceType, Category category){ 
Note: See TracChangeset for help on using the changeset viewer.