Skip to content

Commit

Permalink
update co2 scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
jykfan authored and Tim Bart committed Feb 24, 2017
1 parent b1914cd commit 2dd3dbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ public class SensorViewLogic {
final List<Sensor> senseOneFiveSensors = Lists.newArrayList(senseOneSensors);
senseOneFiveSensors.addAll(
Lists.newArrayList(
// Sensor.CO2,
Sensor.TVOC, Sensor.UV, Sensor.PRESSURE
Sensor.CO2, Sensor.TVOC, Sensor.UV, Sensor.PRESSURE
));

temp.put(HardwareVersion.SENSE_ONE, senseOneSensors);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public class Co2Scale extends Scale {
private static List<ScaleInterval> intervals = new ArrayList<>();
static {
intervals.add(new ScaleInterval("Ideal", "The CO2 level is just right.", 0f, 599.9f, Condition.IDEAL));
intervals.add(new ScaleInterval("Elevated", "The CO2 level is elevated.", 600f, 1199.9f, Condition.WARNING));
intervals.add(new ScaleInterval("Unhealthy", "The CO2 level is unhealthy.", 1200f, null, Condition.ALERT));
intervals.add(new ScaleInterval("A bit stuffy", "The air is a bit stuffy.", 600f, 1199.9f, Condition.WARNING));
intervals.add(new ScaleInterval("Stuffy", "The air is stuffy.", 1200f, null, Condition.ALERT));
}
@Override
public List<ScaleInterval> intervals() {
Expand Down

0 comments on commit 2dd3dbc

Please sign in to comment.