From 9e5babf9db52e64bdae60137be7696e56241fca6 Mon Sep 17 00:00:00 2001
From: xingzilong <xingzilong@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期五, 18 八月 2017 18:12:17 +0800
Subject: [PATCH] H264 NALU解析  并在RTSPServer判断

---
 VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Register.java |  276 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 264 insertions(+), 12 deletions(-)

diff --git a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Register.java b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Register.java
index be97ea1..eaa160c 100644
--- a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Register.java
+++ b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/discern/entity/Register.java
@@ -1,12 +1,11 @@
 package cn.com.basic.face.discern.entity;
 
 import java.io.Serializable;
-import java.util.Date;
 
 import cn.com.basic.face.discern.common.BaseEntity;
 
 /**
- * Register
+ * 浜哄憳琛�
  */
 public class Register extends BaseEntity implements Serializable {
 
@@ -99,8 +98,56 @@
 		 * 鐩戞帶鍥剧墖id
 		 */
 		public static final String surveillancePhotoId = "surveillancePhotoId";
-
+		/**
+		 * 璁垮绫诲瀷
+		 */
 		public static final String visitorTypeId = "visitorTypeId";
+		/**
+		 * 韬唤璁よ瘉
+		 */
+		public static final String authentication = "authentication";
+		/**
+		 * idCardHeadPhoto
+		 */
+		public static final String idCardHeadPhoto = "idCardHeadPhoto";
+		/**
+		 * 鑰冨嫟浜哄憳绫诲瀷
+		 */
+		public static final String attenderTypeId = "attenderTypeId";
+		/**
+		 * 鍗″彿
+		 */
+		public static final String cardNumber = "cardNumber";
+		/**
+		 * 鍚屾鏃堕棿
+		 */
+		public static final String updateTime = "updateTime";
+		/**
+		 * 鏄惁鍚屾
+		 */
+		public static final String isSynchron = "isSynchron";
+		/**
+		 * 璁惧鎵�鍦ㄦ満鏋刬d
+		 */
+		public static final String deviceCompanyId = "deviceCompanyId";
+		/**
+		 * 涓存椂鍘熺洃鎺ф枃浠惰矾寰�
+		 */
+		public static final String rawSurveillancePhotoPath = "rawSurveillancePhotoPath";
+		/**
+		 * 涓存椂鍘熺洃鎺ф枃浠跺搴�
+		 */
+		public static final String rawSurveillancePhotoWidth = "rawSurveillancePhotoWidth";
+		/**
+		 * 涓存椂鍘熺洃鎺ф枃浠堕珮搴�
+		 */
+		public static final String rawSurveillancePhotoHeight = "rawSurveillancePhotoHeight";
+		/**
+		 * 涓存椂鍘熺洃鎺ф枃浠跺垱寤烘椂闂�
+		 */
+		public static final String post = "createTime";
+		public static final String department = "createTime";
+		public static final String company = "company";
 	}
 
 	// 浜哄憳涓婚敭
@@ -147,8 +194,45 @@
 	private String surveillancePhotoId;
 	// 璁垮绫诲瀷
 	private String visitorTypeId;
+	// 韬唤璁よ瘉
 	private String authentication;
+	// idCardHeadPhoto
 	private String idCardHeadPhoto;
+	// 鑰冨嫟浜哄憳绫诲瀷
+	private String attenderTypeId;
+	// 鍗″彿
+	private String cardNumber;
+	// 鍚屾鏃堕棿
+	private String updateTime;
+	// 鏄惁鍚屾
+	private String isSynchron;
+	// 璁惧鎵�鍦ㄦ満鏋刬d
+	private String deviceCompanyId;
+	// 涓存椂鍘熺洃鎺ф枃浠惰矾寰�
+	private String rawSurveillancePhotoPath;
+	// 涓存椂鍘熺洃鎺ф枃浠跺搴�
+	private String rawSurveillancePhotoWidth;
+	// 涓存椂鍘熺洃鎺ф枃浠堕珮搴�
+	private String rawSurveillancePhotoHeight;
+	// 涓存椂鍘熺洃鎺ф枃浠跺垱寤烘椂闂�
+	private String createTime;
+	private String company;
+	private String visitorOrAttender;
+
+
+	private String isValid;
+
+
+	public String getIsValid() {
+		return isValid;
+	}
+
+	public void setIsValid(String isValid) {
+		this.isValid = isValid;
+	}
+
+
+
 
 	/**
 	 * Get 浜哄憳涓婚敭
@@ -444,39 +528,207 @@
 		this.surveillancePhotoId = surveillancePhotoId;
 	}
 
+	/**
+	 * Get 璁垮绫诲瀷
+	 */
 	public String getVisitorTypeId() {
 		return visitorTypeId;
 	}
 
+	/**
+	 * Set 璁垮绫诲瀷
+	 */
 	public void setVisitorTypeId(String visitorTypeId) {
 		this.visitorTypeId = visitorTypeId;
 	}
 
+	/**
+	 * Get 韬唤璁よ瘉
+	 * 锛�0鏈璇侊紝1宸茶璇�
+	 */
 	public String getAuthentication() {
 		return authentication;
 	}
 
+	/**
+	 * Set 韬唤璁よ瘉
+	 * 锛�0鏈璇侊紝1宸茶璇�
+	 */
 	public void setAuthentication(String authentication) {
 		this.authentication = authentication;
 	}
 
+	/**
+	 * Get idCardHeadPhoto
+	 */
 	public String getIdCardHeadPhoto() {
 		return idCardHeadPhoto;
 	}
 
+	/**
+	 * Set idCardHeadPhoto
+	 */
 	public void setIdCardHeadPhoto(String idCardHeadPhoto) {
 		this.idCardHeadPhoto = idCardHeadPhoto;
 	}
 
+	/**
+	 * Get 鑰冨嫟浜哄憳绫诲瀷
+	 */
+	public String getAttenderTypeId() {
+		return attenderTypeId;
+	}
+
+	/**
+	 * Set 鑰冨嫟浜哄憳绫诲瀷
+	 */
+	public void setAttenderTypeId(String attenderTypeId) {
+		this.attenderTypeId = attenderTypeId;
+	}
+
+	/**
+	 * Get 鍗″彿
+	 */
+	public String getCardNumber() {
+		return cardNumber;
+	}
+
+	/**
+	 * Set 鍗″彿
+	 */
+	public void setCardNumber(String cardNumber) {
+		this.cardNumber = cardNumber;
+	}
+
+	/**
+	 * Get 鍚屾鏃堕棿
+	 */
+	public String getUpdateTime() {
+		return updateTime;
+	}
+
+	/**
+	 * Set 鍚屾鏃堕棿
+	 */
+	public void setUpdateTime(String updateTime) {
+		this.updateTime = updateTime;
+	}
+
+	/**
+	 * Get 鏄惁鍚屾
+	 * 锛孻--宸插悓姝ワ紝N--鏈悓姝�
+	 */
+	public String getIsSynchron() {
+		return isSynchron;
+	}
+
+	/**
+	 * Set 鏄惁鍚屾
+	 * 锛孻--宸插悓姝ワ紝N--鏈悓姝�
+	 */
+	public void setIsSynchron(String isSynchron) {
+		this.isSynchron = isSynchron;
+	}
+
+	/**
+	 * Get 璁惧鎵�鍦ㄦ満鏋刬d
+	 */
+	public String getDeviceCompanyId() {
+		return deviceCompanyId;
+	}
+
+	/**
+	 * Set 璁惧鎵�鍦ㄦ満鏋刬d
+	 */
+	public void setDeviceCompanyId(String deviceCompanyId) {
+		this.deviceCompanyId = deviceCompanyId;
+	}
+
+	/**
+	 * Get 涓存椂鍘熺洃鎺ф枃浠惰矾寰�
+	 */
+	public String getRawSurveillancePhotoPath() {
+		return rawSurveillancePhotoPath;
+	}
+
+	/**
+	 * Set 涓存椂鍘熺洃鎺ф枃浠惰矾寰�
+	 */
+	public void setRawSurveillancePhotoPath(String rawSurveillancePhotoPath) {
+		this.rawSurveillancePhotoPath = rawSurveillancePhotoPath;
+	}
+
+	/**
+	 * Get 涓存椂鍘熺洃鎺ф枃浠跺搴�
+	 */
+	public String getRawSurveillancePhotoWidth() {
+		return rawSurveillancePhotoWidth;
+	}
+
+	/**
+	 * Set 涓存椂鍘熺洃鎺ф枃浠跺搴�
+	 */
+	public void setRawSurveillancePhotoWidth(String rawSurveillancePhotoWidth) {
+		this.rawSurveillancePhotoWidth = rawSurveillancePhotoWidth;
+	}
+
+	/**
+	 * Get 涓存椂鍘熺洃鎺ф枃浠堕珮搴�
+	 */
+	public String getRawSurveillancePhotoHeight() {
+		return rawSurveillancePhotoHeight;
+	}
+
+	/**
+	 * Set 涓存椂鍘熺洃鎺ф枃浠堕珮搴�
+	 */
+	public void setRawSurveillancePhotoHeight(String rawSurveillancePhotoHeight) {
+		this.rawSurveillancePhotoHeight = rawSurveillancePhotoHeight;
+	}
+
+	/**
+	 * Get 涓存椂鍘熺洃鎺ф枃浠跺垱寤烘椂闂�
+	 */
+	public String getCreateTime() {
+		return createTime;
+	}
+
+	/**
+	 * Set 涓存椂鍘熺洃鎺ф枃浠跺垱寤烘椂闂�
+	 */
+	public void setCreateTime(String createTime) {
+		this.createTime = createTime;
+	}
+
+	public String getCompany() {
+		return company;
+	}
+
+	public void setCompany(String company) {
+		this.company = company;
+	}
+
+	public String getVisitorOrAttender() {
+		return visitorOrAttender;
+	}
+
+	public void setVisitorOrAttender(String visitorOrAttender) {
+		this.visitorOrAttender = visitorOrAttender;
+	}
+
 	public String toString() {
-		return
-				",浜哄憳涓婚敭 =" + registerId +  ",浜哄憳鍚嶅瓧 =" + username   +  ",浜哄憳鍚嶉瀛楁瘝 ="+ nameEn     +
-						",鎬у埆 ="   + genderId   +  ",鍥界睄 ="   + countryId  +  ",鐪� ="    + province   +
-						",甯� ="    + city       +  ",鍑虹敓鏃ユ湡 =" + birthday   +  ",搴ф満鐢佃瘽 =" + tel        +
-						",绉诲姩鐢佃瘽 =" + mobilePhone +  ",璇佷欢绫诲瀷 =" + identityTypeId +  ",璇佷欢缂栧彿 =" + identifyNum +
-						",鍏徃涓婚敭 =" + companyId  +  ",閮ㄩ棬涓婚敭 =" + departmentId +  ",鑱屽姟涓婚敭 =" + postId     +
-						",浜哄憳澶囨敞娑堟伅 ="+ remark     +  ",鍗遍櫓浜哄憳璀﹀憡娑堟伅 ="+ warning    +  ",璇佷欢鐓� ="  + idCardPhoto +
-						",涓婁紶鑷畾涔夌収鐗� ="+ uploadCustomPhoto +  ",鐩戞帶鍥剧墖 =" + surveillancePhoto +  ",鐩戞帶鍥剧墖id ="+ surveillancePhotoId
-				;
+		return 
+			 ",浜哄憳涓婚敭 =" + registerId +  ",浜哄憳鍚嶅瓧 =" + username   +  ",浜哄憳鍚嶉瀛楁瘝 ="+ nameEn     + 
+			 ",鎬у埆 ="   + genderId   +  ",鍥界睄 ="   + countryId  +  ",鐪� ="    + province   + 
+			 ",甯� ="    + city       +  ",鍑虹敓鏃ユ湡 =" + birthday   +  ",搴ф満鐢佃瘽 =" + tel        + 
+			 ",绉诲姩鐢佃瘽 =" + mobilePhone +  ",璇佷欢绫诲瀷 =" + identityTypeId +  ",璇佷欢缂栧彿 =" + identifyNum + 
+			 ",鍏徃涓婚敭 =" + companyId  +  ",閮ㄩ棬涓婚敭 =" + departmentId +  ",鑱屽姟涓婚敭 =" + postId     + 
+			 ",浜哄憳澶囨敞娑堟伅 ="+ remark     +  ",鍗遍櫓浜哄憳璀﹀憡娑堟伅 ="+ warning    +  ",璇佷欢鐓� ="  + idCardPhoto + 
+			 ",涓婁紶鑷畾涔夌収鐗� ="+ uploadCustomPhoto +  ",鐩戞帶鍥剧墖 =" + surveillancePhoto +  ",鐩戞帶鍥剧墖id ="+ surveillancePhotoId + 
+			 ",璁垮绫诲瀷 =" + visitorTypeId +  ",韬唤璁よ瘉 =" + authentication +  ",idCardHeadPhoto ="+ idCardHeadPhoto + 
+			 ",鑰冨嫟浜哄憳绫诲瀷 ="+ attenderTypeId +  ",鍗″彿 ="   + cardNumber +  ",鍚屾鏃堕棿 =" + updateTime + 
+			 ",鏄惁鍚屾 =" + isSynchron +  ",璁惧鎵�鍦ㄦ満鏋刬d ="+ deviceCompanyId +  ",涓存椂鍘熺洃鎺ф枃浠惰矾寰� ="+ rawSurveillancePhotoPath + 
+			 ",涓存椂鍘熺洃鎺ф枃浠跺搴� ="+ rawSurveillancePhotoWidth +  ",涓存椂鍘熺洃鎺ф枃浠堕珮搴� ="+ rawSurveillancePhotoHeight +  ",涓存椂鍘熺洃鎺ф枃浠跺垱寤烘椂闂� ="+ createTime
+			;
 	}
 }

--
Gitblit v1.8.0