From 97985676d46d67eeb56645f9c88428aa7709714b Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期三, 19 七月 2017 11:39:14 +0800
Subject: [PATCH]
---
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/query/item/SurveillanceQueryItem.java | 68 +++++++++++++++++++++++++++++++--
1 files changed, 63 insertions(+), 5 deletions(-)
diff --git a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/query/item/SurveillanceQueryItem.java b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/query/item/SurveillanceQueryItem.java
index 46a9ffa..db54c45 100644
--- a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/query/item/SurveillanceQueryItem.java
+++ b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/query/item/SurveillanceQueryItem.java
@@ -49,6 +49,24 @@
private Date createTime;
+ public static long initialSelectId = 1;
+
+ private long idForSelect;
+
+ private String surveillancePhoto;
+
+ private int stTrackId;
+ private String visitorType;
+ private String authentication;
+
+ public SurveillanceQueryItem() {
+ if (initialSelectId > 10000) {
+ initialSelectId = 1;
+ }
+ idForSelect = initialSelectId;
+ initialSelectId++;
+ }
+
/**
* Get 浜哄憳涓婚敭
*/
@@ -189,11 +207,12 @@
}
public String getBase64Image() {
- ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
- bitmap.compress(Bitmap.CompressFormat.JPEG, 100, byteArrayOutputStream);
- byte[] imageBytes = byteArrayOutputStream.toByteArray();
- String encodedImage = Base64.encodeToString(imageBytes, Base64.DEFAULT);
- return encodedImage;
+// ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
+// bitmap.compress(Bitmap.CompressFormat.JPEG, 100, byteArrayOutputStream);
+// byte[] imageBytes = byteArrayOutputStream.toByteArray();
+// String encodedImage = Base64.encodeToString(imageBytes, Base64.DEFAULT);
+// return encodedImage;
+ return "";
}
public void setBase64Image(String base64Image) {
@@ -240,4 +259,43 @@
this.createTime = createTime;
}
+ public long getIdForSelect() {
+ return idForSelect;
+ }
+
+ public void setIdForSelect(long idForSelect) {
+ this.idForSelect = idForSelect;
+ }
+
+ public String getSurveillancePhoto() {
+ return surveillancePhoto;
+ }
+
+ public void setSurveillancePhoto(String surveillancePhoto) {
+ this.surveillancePhoto = surveillancePhoto;
+ }
+
+ public int getStTrackId() {
+ return stTrackId;
+ }
+
+ public void setStTrackId(int stTrackId) {
+ this.stTrackId = stTrackId;
+ }
+
+ public String getVisitorType() {
+ return visitorType;
+ }
+
+ public void setVisitorType(String visitorType) {
+ this.visitorType = visitorType;
+ }
+
+ public String getAuthentication() {
+ return authentication;
+ }
+
+ public void setAuthentication(String authentication) {
+ this.authentication = authentication;
+ }
}
--
Gitblit v1.8.0