source: xssim/src/schedframe/resources/profile/PowerUsage.java @ 104

Revision 104, 396 bytes checked in by wojtekp, 13 years ago (diff)
  • Property svn:mime-type set to text/plain
Line 
1package schedframe.resources.profile;
2
3public class PowerUsage {
4
5        protected long timestamp;
6        protected double value;
7
8        public PowerUsage(long timestamp, double value){
9                this.timestamp = timestamp;
10                this.value = value;
11        }
12       
13        public long getTimestamp() {
14                return timestamp;
15        }
16
17        public double getValue() {
18                return value;
19        }
20       
21        public void setValue(double value) {
22                this.value = value;
23        }
24       
25}
Note: See TracBrowser for help on using the repository browser.