From bcefcf7249692e61574438d3857e737c2fd29ca7 Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期五, 14 七月 2017 16:50:36 +0800
Subject: [PATCH] 

---
 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