From 0abb3d251383bcdf22db67e2b26431b7a7b74148 Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期五, 11 八月 2017 14:30:34 +0800
Subject: [PATCH] bug fix
---
VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/dialog/SelectDialog.java | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/dialog/SelectDialog.java b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/dialog/SelectDialog.java
index 1d29b86..ab753dc 100644
--- a/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/dialog/SelectDialog.java
+++ b/VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/dialog/SelectDialog.java
@@ -53,6 +53,8 @@
private static List<String> resolutionList = new ArrayList();
private static List<String> protocolList = new ArrayList();
private static List<String> cameraBrandList = new ArrayList();
+ private static List<String> departmentDictionaryList = new ArrayList();
+ private static List<String> postDictionaryList = new ArrayList();
private int type;
public static void setVisitorTypeList(List visitorTypeList) {
@@ -206,6 +208,14 @@
tile = "璇烽�夋嫨鎽勫儚鏈哄搧鐗�";
list = cameraBrandList;
break;
+ case Constant.DialogSelectType.DEPARTMENT:
+ tile = "璇烽�夋嫨閮ㄩ棬/鐝骇";
+ list = departmentDictionaryList;
+ break;
+ case Constant.DialogSelectType.POST:
+ tile = "璇烽�夋嫨鑱屽姟";
+ list = postDictionaryList;
+ break;
}
dialog_select_title.setText(tile);
}
@@ -251,6 +261,14 @@
SelectDialog.cameraBrandList = cameraBrandList;
}
+ public static void setDepartmentDictionaryList(List<String> departmentDictionaryList) {
+ SelectDialog.departmentDictionaryList = departmentDictionaryList;
+ }
+
+ public static void setPostDictionaryList(List<String> postDictionaryList) {
+ SelectDialog.postDictionaryList = postDictionaryList;
+ }
+
public static class WheelAdapter extends BaseWheelAdapter<String> {
private Context mContext;
--
Gitblit v1.8.0