沈斌
2016-12-22 8d11b3142471207c1dfbe7fb5fc39791551a370a
method.js
@@ -167,6 +167,8 @@
    var ddv = this.toDec(fields[62]) * 256 + this.toDec(fields[63]);
    var mcu = this.toDec(fields[64]) + this.toDec(fields[65]) / 100;
    var current = moment();
    queue.pushToScreen({
        mac: mac,
        location: {
@@ -174,16 +176,15 @@
            lng: 120.988327
        },
        data: {
            x1: x1,  //PM2.5
            x2: x9,  //甲醛
            x3: x11, //温度
            x4: x10, //湿度
            x5: x14, //光线强度
            x6: x12  //风速
        }
            x1: x1,  //PM2.5 - (单位:ppm)
            x2: x3,  //PM2.5 - 0.1升0.3um量
            x3: x9,  //甲醛
            x4: x11, //温度
            x5: x10, //湿度
            x6: x14  //光线强度
        },
        time: current.valueOf()
    });
    var current = moment();
    var rank = 0;
    if(s > 0) {