From e457fff882dd8db8c31474e2a51b86f948dc8b1a Mon Sep 17 00:00:00 2001 From: 沈斌 <bluelazysb@hotmail.com> Date: Thu, 12 Jan 2017 15:22:17 +0800 Subject: [PATCH] 升级moral_server服务端第三方组件至最新版本并发布测试 --- method.js | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/method.js b/method.js index ded9b19..4ef0589 100644 --- a/method.js +++ b/method.js @@ -131,6 +131,10 @@ mac = mac.toLowerCase(); this.updateDeviceLastUpdated(db, mac, function(data) {}); + //������������������������������������������������������ + //var ver = this.toDec(fields[18]) * 256 + this.toDec(fields[19]); //��������� + + var x1 = this.toDec(fields[20]) * 256 + this.toDec(fields[21]); //PM2.5������ var x2 = this.toDec(fields[22]) * 256 + this.toDec(fields[23]); //PM10 var x3 = this.toDec(fields[24]) * 256 + this.toDec(fields[25]); //0.1���0.3um��� -- Gitblit v1.8.0