source: DCWoRMS/trunk/src/schedframe/resources/computing/profiles/energy/MeasurementHistory.java @ 495

Revision 495, 432 bytes checked in by wojtekp, 13 years ago (diff)
  • Property svn:mime-type set to text/plain
Line 
1package schedframe.resources.computing.profiles.energy;
2
3public class MeasurementHistory {
4       
5        protected long timestamp;
6        protected double value;
7
8        public MeasurementHistory (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.