source: DCWoRMS/trunk/src/schedframe/resources/computing/profiles/energy/thermal/ThermalInterfaceFactory.java @ 803

Revision 803, 605 bytes checked in by wojtekp, 12 years ago (diff)
  • Property svn:mime-type set to text/plain
Line 
1package schedframe.resources.computing.profiles.energy.thermal;
2
3import schedframe.resources.computing.ComputingResource;
4import schedframe.resources.computing.profiles.energy.thermal.ui.ComputingResourceThermalInterface;
5import schedframe.resources.computing.profiles.energy.thermal.ui.ThermalInterface;
6
7public class ThermalInterfaceFactory {
8        public static ThermalInterface createThermalInterface(ComputingResource resource, ThermalProfile tp){
9                if(tp == null)
10                        return null;
11                ThermalInterface thermalInterface = new ComputingResourceThermalInterface(resource, tp);
12
13                return thermalInterface;
14        }
15}
Note: See TracBrowser for help on using the repository browser.