From 6c88cd89b3f3d6d140f6eb0cec20e2f57a7ff563 Mon Sep 17 00:00:00 2001
From: 沈斌 <bluelazysb@hotmail.com>
Date: Wed, 16 May 2018 11:00:33 +0800
Subject: [PATCH] updates - 心跳包降低至30s/次
---
app/src/main/java/com/moral/yunfushao/model/RecData.java | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/app/src/main/java/com/moral/yunfushao/model/RecData.java b/app/src/main/java/com/moral/yunfushao/model/RecData.java
index 53066bd..97460f1 100644
--- a/app/src/main/java/com/moral/yunfushao/model/RecData.java
+++ b/app/src/main/java/com/moral/yunfushao/model/RecData.java
@@ -8,6 +8,8 @@
public class RecData {
private double value;
private String time;
+ private int type;//0������������ 1������������
+ private int is_warn;//1������ 0 ���������
public double getValue() {
return value;
@@ -24,4 +26,20 @@
public void setTime(String time) {
this.time = time;
}
+
+ public int getType() {
+ return type;
+ }
+
+ public void setType(int type) {
+ this.type = type;
+ }
+
+ public int getIs_warn() {
+ return is_warn;
+ }
+
+ public void setIs_warn(int is_warn) {
+ this.is_warn = is_warn;
+ }
}
--
Gitblit v1.8.0