| | |
| | |
|
| | | public class CommonVariables {
|
| | |
|
| | | public static class ImageType {
|
| | | public static final int FACE1 = 101; //正面照片1(存放到EmployeeFace/VisitFace表)
|
| | | public static final int FACE2 = 102; //正面照片2(存放到EmployeeFace/VisitFace表)
|
| | | public static final int FACE_L_SIDE = 103; //(主体观察,<=45度)左侧脸照片(存放到EmployeeFace/VisitFace表)
|
| | | public static final int FACE_R_SIDE = 104; //(主体观察,<=45度)右侧脸照片(存放到EmployeeFace/VisitFace表)
|
| | | public static final int FACE_T_SIDE = 105; //(主体观察,<=45度)顶侧脸照片(存放到EmployeeFace/VisitFace表)
|
| | | public static final int FACE_B_SIDE = 106; //(主体观察,<=45度)底侧脸照片(存放到EmployeeFace/VisitFace表)
|
| | | public static final int FACE_UPLOADED = 107; //上传照片(存放到EmployeeFace/VisitFace表)
|
| | | public static final int ICON = 108; // 图标(存放到Image表)
|
| | | public static final int IDENTIFICATION_CARD = 109; //身份证照片(存放到Image表)
|
| | | public static final int BUSINESS_CARD = 110; //名片照片(存放到Image表)
|
| | | public static final int OTHER_CARD = 111; //其他证件(存放到Image表)
|
| | | }
|
| | | |
| | | public static class Type {
|
| | | public static final int NORMAL_VISITOR = 201; //普通访客
|
| | | public static final int BLACK_LIST = 202; //黑名单
|
| | | public static final int TEACHER = 203; //教师
|
| | | public static final int STUDENT = 204; //学生
|
| | | public static final int LEADER = 205; //领导干部
|
| | | }
|
| | | |
| | | public static class StatusID {
|
| | | public static final int NO_REGISTER = 301; //未注册
|
| | | public static final int REGISTERED = 302; //已注册(访客)
|
| | | public static final int VISITOR_ENTERED = 303; //来访登记(访客)
|
| | | public static final int VISITOR_EXITED = 304; //签离(访客)
|
| | | public static final int EMP_ENTERED = 305; //签到(员工)
|
| | | public static final int EMP_EXITED = 306; //签退(员工)
|
| | | }
|
| | | |
| | | public static class EnterOrExit {
|
| | | public static final int ENTER = 401; //进
|
| | | public static final int EXIT = 402; //出
|
| | | }
|
| | |
|
| | | public class DictionaryType {
|
| | | public static final String GENDER = "gender";
|
| | | public static final String ID_TYPE = "id_type";
|
| | | public static final String COUNTRY = "country";
|
| | | public static final String VISIT_REASON = "visit_reason";
|
| | | public static final String VISIT_TYPE = "visit_type";
|
| | | public static class ImageType {
|
| | | public static final int FACE1 = 101; //正面照片1(存放到EmployeeFace/VisitFace表)
|
| | | public static final int FACE2 = 102; //正面照片2(存放到EmployeeFace/VisitFace表)
|
| | | public static final int FACE_L_SIDE = 103; //(主体观察,<=45度)左侧脸照片(存放到EmployeeFace/VisitFace表)
|
| | | public static final int FACE_R_SIDE = 104; //(主体观察,<=45度)右侧脸照片(存放到EmployeeFace/VisitFace表)
|
| | | public static final int FACE_T_SIDE = 105; //(主体观察,<=45度)顶侧脸照片(存放到EmployeeFace/VisitFace表)
|
| | | public static final int FACE_B_SIDE = 106; //(主体观察,<=45度)底侧脸照片(存放到EmployeeFace/VisitFace表)
|
| | | public static final int FACE_UPLOADED = 107; //上传照片(存放到EmployeeFace/VisitFace表)
|
| | | public static final int ICON = 108; // 图标(存放到Image表)
|
| | | public static final int IDENTIFICATION_CARD = 109; //身份证照片(存放到Image表)
|
| | | public static final int BUSINESS_CARD = 110; //名片照片(存放到Image表)
|
| | | public static final int OTHER_CARD = 111; //其他证件(存放到Image表)
|
| | | }
|
| | |
|
| | | public static class Page {
|
| | | public static final String PAGE_SIZE = "pageSize";
|
| | | public static final String PAGE_NUM = "pageNum";
|
| | | }
|
| | | public static class Type {
|
| | | public static final int NORMAL_VISITOR = 201; //普通访客
|
| | | public static final int BLACK_LIST = 202; //黑名单
|
| | | public static final int TEACHER = 203; //教师
|
| | | public static final int STUDENT = 204; //学生
|
| | | public static final int LEADER = 205; //领导干部
|
| | | }
|
| | |
|
| | | public static class StatusID {
|
| | | public static final int NO_REGISTER = 301; //未注册
|
| | | public static final int REGISTERED = 302; //已注册(访客)
|
| | | }
|
| | |
|
| | | public static class VisitType {
|
| | | public static final int VISITOR_ENTERED = 303; //来访登记(访客)
|
| | | public static final int VISITOR_EXITED = 304; //签离(访客)
|
| | | }
|
| | |
|
| | | public static class AttendanceType {
|
| | | public static final String CHECK_IN = "305"; //签到(员工)
|
| | | public static final String CHECK_OUT = "306"; //签退(员工)
|
| | | }
|
| | |
|
| | | public static class EnterOrExit {
|
| | | public static final int ENTER = 401; //进
|
| | | public static final int EXIT = 402; //出
|
| | | }
|
| | |
|
| | | public class DictionaryType {
|
| | | public static final String GENDER = "gender";
|
| | | public static final String ID_TYPE = "id_type";
|
| | | public static final String COUNTRY = "country";
|
| | | public static final String VISIT_REASON = "visit_reason";
|
| | | public static final String VISIT_TYPE = "visit_type";
|
| | | }
|
| | |
|
| | | public static class Page {
|
| | | public static final String PAGE_SIZE = "pageSize";
|
| | | public static final String PAGE_NUM = "pageNum";
|
| | | public static final int hasMorePages = 1;
|
| | | public static final int noMorePage = 2;
|
| | | public static final int reachBottom = 3;
|
| | | }
|
| | |
|
| | | public static class Surveillance {
|
| | | public static final int VISIT_REGISTER_ITEM_TYPE = 1;
|
| | | public static final int VISIT_CHECK_IN_ITEM_TYPE = 2;
|
| | | public static final int VISIT_BLANK_ITEM_TYPE = 3;
|
| | |
|
| | | public static final int REGISTER_CELL_VIEW_INDEX = 0;
|
| | | public static final int CHECK_IN_CELL_VIEW_INDEX = 1;
|
| | | public static final int VISIT_BLANK_CELL_VIEW_INDEX = 2;
|
| | | }
|
| | |
|
| | | public static class Camera {
|
| | | public static final String IN = "1";
|
| | | public static final String OUT = "2";
|
| | | }
|
| | |
|
| | | }
|