Revision 1312,
449 bytes
checked in by wojtekp, 11 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Line | |
---|
1 | package test.thermal.recs.plugins.scheduling; |
---|
2 | |
---|
3 | public class VirtualNode { |
---|
4 | |
---|
5 | private int id; |
---|
6 | private double power; |
---|
7 | private double temperature; |
---|
8 | |
---|
9 | VirtualNode(int id){ |
---|
10 | this.id = id; |
---|
11 | } |
---|
12 | |
---|
13 | public void setPower(double power){ |
---|
14 | this.power = power; |
---|
15 | } |
---|
16 | |
---|
17 | public void setTemperature(double temperature){ |
---|
18 | this.temperature = temperature; |
---|
19 | } |
---|
20 | |
---|
21 | public double getPower(){ |
---|
22 | return power; |
---|
23 | } |
---|
24 | |
---|
25 | public double getTemperature(){ |
---|
26 | return temperature; |
---|
27 | } |
---|
28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.