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 | 382 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 373 insertions(+), 9 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 6fc760d..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 { @@ -83,6 +82,72 @@ * 鍗遍櫓浜哄憳璀﹀憡娑堟伅 */ public static final String warning = "warning"; + /** + * 璇佷欢鐓� + */ + public static final String idCardPhoto = "idCardPhoto"; + /** + * 涓婁紶鑷畾涔夌収鐗� + */ + public static final String uploadCustomPhoto = "uploadCustomPhoto"; + /** + * 鐩戞帶鍥剧墖 + */ + public static final String surveillancePhoto = "surveillancePhoto"; + /** + * 鐩戞帶鍥剧墖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"; } // 浜哄憳涓婚敭 @@ -119,6 +184,55 @@ private String remark; // 鍗遍櫓浜哄憳璀﹀憡娑堟伅 private String warning; + // 璇佷欢鐓� + private String idCardPhoto; + // 涓婁紶鑷畾涔夌収鐗� + private String uploadCustomPhoto; + // 鐩戞帶鍥剧墖 + private String surveillancePhoto; + // 鐩戞帶鍥剧墖id + 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 浜哄憳涓婚敭 @@ -358,13 +472,263 @@ this.warning = warning; } + /** + * Get 璇佷欢鐓� + */ + public String getIdCardPhoto() { + return idCardPhoto; + } + + /** + * Set 璇佷欢鐓� + */ + public void setIdCardPhoto(String idCardPhoto) { + this.idCardPhoto = idCardPhoto; + } + + /** + * Get 涓婁紶鑷畾涔夌収鐗� + */ + public String getUploadCustomPhoto() { + return uploadCustomPhoto; + } + + /** + * Set 涓婁紶鑷畾涔夌収鐗� + */ + public void setUploadCustomPhoto(String uploadCustomPhoto) { + this.uploadCustomPhoto = uploadCustomPhoto; + } + + /** + * Get 鐩戞帶鍥剧墖 + */ + public String getSurveillancePhoto() { + return surveillancePhoto; + } + + /** + * Set 鐩戞帶鍥剧墖 + */ + public void setSurveillancePhoto(String surveillancePhoto) { + this.surveillancePhoto = surveillancePhoto; + } + + /** + * Get 鐩戞帶鍥剧墖id + */ + public String getSurveillancePhotoId() { + return surveillancePhotoId; + } + + /** + * Set 鐩戞帶鍥剧墖id + */ + public void setSurveillancePhotoId(String surveillancePhotoId) { + 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 ; + 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