Revision 477,
887 bytes
checked in by wojtekp, 13 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Line | |
---|
1 | package schedframe.resources.computing.profiles.energy.power.ui; |
---|
2 | |
---|
3 | import java.util.List; |
---|
4 | |
---|
5 | import schedframe.Parameters; |
---|
6 | import schedframe.resources.computing.profiles.energy.power.PowerState; |
---|
7 | import schedframe.resources.computing.profiles.energy.power.PowerStateName; |
---|
8 | import schedframe.resources.computing.profiles.energy.power.PowerUsage; |
---|
9 | |
---|
10 | public interface PowerInterface { |
---|
11 | |
---|
12 | public PowerStateName getPowerState(); |
---|
13 | |
---|
14 | public boolean setPowerState(PowerStateName powerState); |
---|
15 | |
---|
16 | public boolean supportPowerState(PowerStateName powerState); |
---|
17 | |
---|
18 | public List<PowerState> getSupportedPowerStates() throws NoSuchFieldException; |
---|
19 | |
---|
20 | public double getPowerConsumption(PowerStateName state) throws NoSuchFieldException; |
---|
21 | |
---|
22 | public PowerUsage getRecentPowerUsage(); |
---|
23 | |
---|
24 | //public double getCurrentPowerConsumption(); |
---|
25 | |
---|
26 | List<PowerUsage> getPowerUsageHistory(); |
---|
27 | |
---|
28 | public Parameters getParameters(); |
---|
29 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.