Revision 104,
573 bytes
checked in by wojtekp, 13 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Line | |
---|
1 | package test.rewolucja.energy.profile; |
---|
2 | |
---|
3 | public class PState { |
---|
4 | |
---|
5 | protected PStateType name; |
---|
6 | protected double frequency; |
---|
7 | protected double voltage; |
---|
8 | protected double power; |
---|
9 | |
---|
10 | public PState(PStateType name, double frequency, double voltage, double power) { |
---|
11 | super(); |
---|
12 | this.name = name; |
---|
13 | this.frequency = frequency; |
---|
14 | this.voltage = voltage; |
---|
15 | this.power = power; |
---|
16 | } |
---|
17 | |
---|
18 | public PStateType getName() { |
---|
19 | return name; |
---|
20 | } |
---|
21 | public double getFrequency() { |
---|
22 | return frequency; |
---|
23 | } |
---|
24 | public double getVoltage() { |
---|
25 | return voltage; |
---|
26 | } |
---|
27 | public double getPower() { |
---|
28 | return power; |
---|
29 | } |
---|
30 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.