From 9eba936e5631b9ce4c54c3bb4eea084c4ba058e1 Mon Sep 17 00:00:00 2001 From: 沈斌 <bluelazysb@hotmail.com> Date: Sun, 15 Jan 2017 16:06:21 +0800 Subject: [PATCH] 调试并发布新代码 --- 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