Revision 803,
605 bytes
checked in by wojtekp, 12 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Line | |
---|
1 | package schedframe.resources.computing.profiles.energy.thermal; |
---|
2 | |
---|
3 | import schedframe.resources.computing.ComputingResource; |
---|
4 | import schedframe.resources.computing.profiles.energy.thermal.ui.ComputingResourceThermalInterface; |
---|
5 | import schedframe.resources.computing.profiles.energy.thermal.ui.ThermalInterface; |
---|
6 | |
---|
7 | public 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.