From 0e4e2d26122c5f88f4daa4513785229521f30e18 Mon Sep 17 00:00:00 2001 From: 沈斌 <bluelazysb@hotmail.com> Date: Thu, 15 Dec 2016 13:10:16 +0800 Subject: [PATCH] 添加数据接收时间 --- method.js | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/method.js b/method.js index 4a95bb5..4788af8 100644 --- a/method.js +++ b/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: { @@ -180,10 +182,9 @@ x4: x10, //������ x5: x14, //������������ x6: x12 //������ - } + }, + time: current.valueOf() }); - - var current = moment(); var rank = 0; if(s > 0) { -- Gitblit v1.8.0