Changes between Version 7 and Version 8 of Ticket #529, comment 8
- Timestamp:
- Mar 20, 2014, 10:04:19 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #529, comment 8
v7 v8 27 27 || `labenv/src/net/sf/basedb/labenv/dao/LabSensorConfig.java` || Class for storing lab sensor configuration values in instance variables with corresponding public accessor methods. The values stored are: `int number`, `String url`, `String name`, and `String startDate`. || 28 28 || `labenv/src/net/sf/basedb/labenv/dao/LabEnvironmentData.java` || Class for storing lab sensor data values in instance variables with corresponding public accessor methods. The values stored are: `String sensorUrl`, `String sensorName`, `String serialNumber`, `Date dateTime`, `long unixTime` (number of seconds since 1070-01-01 00:00:00, obtained from `dateTime`), `double temperature` (in °C), and `double humidity` (in %). || 29 30 Lab environment utility classes: 31 32 || '''File''' || '''Description''' || 33 || `labenv/src/net/sf/basedb/labenv/util/LabSensorUtil.java` || Class with public methods for obtaining values from a lab sensor: `String fetchLabSensorName(String sensorUrl)`, `LabEnvironmentData createLabEnvironmentData(String sensorUrl)`, and `LabEnvironmentData createLabEnvironmentData(String sensorUrl, String sensorName)`. Private method `String fetchDataFromUrl(String url)` is used to obtain the raw sensor output from a sensor at a specified URL. || 34 || `labenv/src/net/sf/basedb/labenv/util/LabEnvironmentStorageUtil.java` || Class for storing and retrieving data in the lab environment database. ||