From 64001442be2ba2b9fc5f5981f3a403e1a6d1ed22 Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Thu, 29 Dec 2016 09:42:34 +0800
Subject: [PATCH] 提高PM2.5警告阙值

---
 method.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/method.js b/method.js
index 2eb056f..9f24d43 100644
--- a/method.js
+++ b/method.js
@@ -253,11 +253,11 @@
     }, function(err, doc) {
         if (err) return;
 
-        if(x1 > 250) {
+        if(x1 > 500) {
             var level = 1;
-            if(x1 > 750) {
+            if(x1 > 900) {
                 level = 3;
-            } else if(x1 > 500) {
+            } else if(x1 > 700) {
                 level = 2;
             }
             sensor_data._id = doc.insertedId;

--
Gitblit v1.8.0