Skip to content

Commit

Permalink
增加温湿度
Browse files Browse the repository at this point in the history
  • Loading branch information
liuwenzheng committed Sep 4, 2018
1 parent 9aeea28 commit ac35fad
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/com/moko/beacon/entity/BeaconInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public class BeaconInfo implements Serializable{
public int version;
public String scanRecord;
public String threeAxis;
public String temp;
public String humidity;


@Override
Expand All @@ -42,6 +44,8 @@ public String toString() {
", version=" + version +
", scanRecord='" + scanRecord + '\'' +
", threeAxis='" + threeAxis + '\'' +
", temp='" + temp + '\'' +
", humidity='" + humidity + '\'' +
'}';
}
}
27 changes: 27 additions & 0 deletions app/src/main/java/com/moko/beacon/entity/IBeaconType.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package com.moko.beacon.entity;

/**
* Created by liuwenzheng on 2018/7/13.
*/

public enum IBeaconType {
IBEACON("0000ff00"),
IBEACON_THREE_AXIS("0000ff01"),

;

IBeaconType(String service) {
this.service = service;
}

public String getService() {
return service;
}

public void setService(String service) {
this.service = service;
}

private String service;

}

0 comments on commit ac35fad

Please sign in to comment.