From 58a24b1c56d0d9db2aff1eedfb3ab79ea95718cb Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期三, 28 六月 2017 11:22:39 +0800
Subject: [PATCH] modify proto
---
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/query/item/DeviceQueryItem.java | 228 +++++++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 204 insertions(+), 24 deletions(-)
diff --git a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/query/item/DeviceQueryItem.java b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/query/item/DeviceQueryItem.java
index 34ea2dd..1bbb56a 100644
--- a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/query/item/DeviceQueryItem.java
+++ b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/query/item/DeviceQueryItem.java
@@ -3,74 +3,254 @@
public class DeviceQueryItem {
- // 璁惧涓婚敭
- private String id;
- // 鍏徃涓婚敭
+ //
+ private String deviceId;
+ //
private String companyId;
- // 璁惧鍦扮偣
+ //
private String deviceName;
- // 璁惧鎺堟潈鐮�
- private String authorizationId;
+ //
+ private String type;
+ //
+ private String address;
+ //
+ private String schoolName;
+ //
+ private String brandId;
+ //
+ private String ip;
+ //
+ private String port;
+ //
+ private String resolutionId;
+ //
+ private String username;
+ //
+ private String password;
+ //
+ private String protocolId;
+ //
+ private String sn;
+ //
+ private String belongId;
/**
- * Get 璁惧涓婚敭
+ * Get
*/
- public String getId() {
- return id;
+ public String getDeviceId() {
+ return deviceId;
}
/**
- * Set 璁惧涓婚敭
+ * Set
*/
- public void setId(String id) {
- this.id = id;
+ public void setDeviceId(String deviceId) {
+ this.deviceId = deviceId;
}
/**
- * Get 鍏徃涓婚敭
+ * Get
*/
public String getCompanyId() {
return companyId;
}
/**
- * Set 鍏徃涓婚敭
+ * Set
*/
public void setCompanyId(String companyId) {
this.companyId = companyId;
}
/**
- * Get 璁惧鍦扮偣
+ * Get
*/
public String getDeviceName() {
return deviceName;
}
/**
- * Set 璁惧鍦扮偣
+ * Set
*/
public void setDeviceName(String deviceName) {
this.deviceName = deviceName;
}
/**
- * Get 璁惧鎺堟潈鐮�
+ * Get
*/
- public String getAuthorizationId() {
- return authorizationId;
+ public String getType() {
+ return type;
}
/**
- * Set 璁惧鎺堟潈鐮�
+ * Set
*/
- public void setAuthorizationId(String authorizationId) {
- this.authorizationId = authorizationId;
+ public void setType(String type) {
+ this.type = type;
+ }
+
+ /**
+ * Get
+ */
+ public String getAddress() {
+ return address;
+ }
+
+ /**
+ * Set
+ */
+ public void setAddress(String address) {
+ this.address = address;
+ }
+
+ /**
+ * Get
+ */
+ public String getSchoolName() {
+ return schoolName;
+ }
+
+ /**
+ * Set
+ */
+ public void setSchoolName(String schoolName) {
+ this.schoolName = schoolName;
+ }
+
+ /**
+ * Get
+ */
+ public String getBrandId() {
+ return brandId;
+ }
+
+ /**
+ * Set
+ */
+ public void setBrandId(String brandId) {
+ this.brandId = brandId;
+ }
+
+ /**
+ * Get
+ */
+ public String getIp() {
+ return ip;
+ }
+
+ /**
+ * Set
+ */
+ public void setIp(String ip) {
+ this.ip = ip;
+ }
+
+ /**
+ * Get
+ */
+ public String getPort() {
+ return port;
+ }
+
+ /**
+ * Set
+ */
+ public void setPort(String port) {
+ this.port = port;
+ }
+
+ /**
+ * Get
+ */
+ public String getResolutionId() {
+ return resolutionId;
+ }
+
+ /**
+ * Set
+ */
+ public void setResolutionId(String resolutionId) {
+ this.resolutionId = resolutionId;
+ }
+
+ /**
+ * Get
+ */
+ public String getUsername() {
+ return username;
+ }
+
+ /**
+ * Set
+ */
+ public void setUsername(String username) {
+ this.username = username;
+ }
+
+ /**
+ * Get
+ */
+ public String getPassword() {
+ return password;
+ }
+
+ /**
+ * Set
+ */
+ public void setPassword(String password) {
+ this.password = password;
+ }
+
+ /**
+ * Get
+ */
+ public String getProtocolId() {
+ return protocolId;
+ }
+
+ /**
+ * Set
+ */
+ public void setProtocolId(String protocolId) {
+ this.protocolId = protocolId;
+ }
+
+ /**
+ * Get
+ */
+ public String getSn() {
+ return sn;
+ }
+
+ /**
+ * Set
+ */
+ public void setSn(String sn) {
+ this.sn = sn;
+ }
+
+ /**
+ * Get
+ */
+ public String getBelongId() {
+ return belongId;
+ }
+
+ /**
+ * Set
+ */
+ public void setBelongId(String belongId) {
+ this.belongId = belongId;
}
public String toString() {
return
- ",璁惧涓婚敭 =" + id + ",鍏徃涓婚敭 =" + companyId + ",璁惧鍦扮偣 =" + deviceName +
- ",璁惧鎺堟潈鐮� ="+ authorizationId;
+ ", =" + deviceId + ", =" + companyId + ", =" + deviceName +
+ ", =" + type + ", =" + address + ", =" + schoolName +
+ ", =" + brandId + ", =" + ip + ", =" + port +
+ ", =" + resolutionId + ", =" + username + ", =" + password +
+ ", =" + protocolId + ", =" + sn + ", =" + belongId
+ ;
}
}
--
Gitblit v1.8.0