liuxiaolong
2019-05-06 71af9c46c24b562acc00a71ec6c97c04eb048d9c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
package com.cloud.device.utils;
 
import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
 
@Component
@Data
public class EnumStr {
    //user 用户模块 接口 ip
    @Value("${loginData.redUrl}")
    private   String userHOSTNAME = "localhost";
    //user 用户模块 接口 端口
    @Value("${loginData.redPort}")
    private  int userHTTP_PORT =3694;
 
    @Value("${fdfsImgUrl.server}")
    private String  httpImgUrl = "";
    //user 用户模块 接口 端口
    @Value("${fdfsImgUrl.cameraPort}")
    private  String cameraPort = "8000";
    //user 用户模块 接口 ip
    @Value("${es.es_network_host}")
    private   String esHOSTNAME = "192.168.1.203";
    //user 用户模块 接口 端口
    @Value("${es.es_network_http_port}")
    private  int esHTTP_PORT =9200;
 
    //c 服务 接口 端口
    @Value("${c_server.port}")
    private  int c_PORT =11111;
 
    /**
     * es 数据中 考勤日期字段
     */
    public static final String esIndexField = "videopersons";  // 多索引,分割
    /**
     * es 数据中 考勤日期字段
     */
    public static final String picDateField = "picDate";
    /**
     * 前端页面 考勤日期字段
     */
    public static final String picDateShow = "onlinetime";
    /**
     * es 数据中 抓拍图片 字段
     */
    public static final String perPicField = "picSmUrl";
    /**
     * 前端页面 抓拍图片  字段
     */
    public static final String snapPicShow = "Snapshotpath";
 
    /**
     * es 数据中 设备ID 字段
     */
    public static final String devIdField = "indeviceid";
    /**
     * 前端页面 设备ID  字段
     */
    public static final String devIdShow = "indeviceid";
    /**
     * es 数据中 设备名 字段
     */
    public static final String devNameField = "indevicename";
    /**
     * es 数据中 抓拍地址 字段
     */
    public static final String devAddressField = "picAddress";
 
    /**
     * 前端页面 设备名  字段
     */
    public static final String devNameShow = "indevicename";
 
    public static  final String personUrlField = "personPicUrl";
 
    public static  final String idCardField = "idcard";
    /**
     * es 数据中 personID 字段
     */
    public static final String personIdField = "personId";
    /**
     * 前端页面 personID  字段
     */
    public static final String personIdShow = "pid";
 
    /**
     * 前端页面 identity 人员身份 字段
     */
    public static final String perIdentityShow = "identity";
    /**
     * 前端页面 photo  字段  ,数据库 内容
     */
    public static final String photoAddShow = "photo";
    /**
     * 前端页面 identity  类型 为 student
     */
    public static final String STUDENT = "student";
    /**
     * 前端页面 identity  类型 为 student 200
     */
    public static final String STUDENT_SQL = "200";
    /**
     * 前端页面 identity  类型 为 teacher
     */
    public static final String TEACHER = "teacher";
    /**
     * 前端页面 identity  类型 为 teacher
     */
    public static final String TEACHER_SQL = "100";  // 教师
    /**
     * 前端页面 pname  字段  数据库 内容
     */
    public static final String pnameShow = "pname";
}