Revision 104,
617 bytes
checked in by wojtekp, 13 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Line | |
---|
1 | package schedframe.resources; |
---|
2 | |
---|
3 | import java.util.List; |
---|
4 | |
---|
5 | import schedframe.resources.profile.PowerUsage; |
---|
6 | |
---|
7 | public interface PowerInterface extends PowerInterfaceVisitor, Cloneable { |
---|
8 | |
---|
9 | public void init(String arg); |
---|
10 | |
---|
11 | public PowerState getPowerState(); |
---|
12 | |
---|
13 | public boolean setPowerState(PowerState state); |
---|
14 | |
---|
15 | public int getFrequency(); |
---|
16 | |
---|
17 | public boolean setFrequency(int freq); |
---|
18 | |
---|
19 | public int getVoltage(); |
---|
20 | |
---|
21 | public boolean setVoltage(int voltage); |
---|
22 | |
---|
23 | public List<PowerUsage> getPowerUsageHistory(); |
---|
24 | |
---|
25 | public void addToPowerUsageHistory(int value); |
---|
26 | |
---|
27 | public int getPowerConsumption(); |
---|
28 | |
---|
29 | public PowerInterface clone(); |
---|
30 | |
---|
31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.