a
554325746@qq.com
2019-12-25 7340eb0b160eacbbd0f3c2289e3ac6150da235f3
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
package com.basic.security.utils;
 
public class Constants {
    public static int RGB_CAMERA = 0;
    public static int GRAY_CAMERA = 1;
    public static int rotation = 0;
    public static boolean useAlf = false;
    public static boolean needIdCardModule = true;
    public static boolean showCapturedImages = false;
    public static boolean isNewIDCardReader = false;
    public static boolean printSql = false;
    public static boolean showLog = true;
    public static long compareFeatureTime;
    public static float score = 0.0f;
    public static int minRecognizeScore = 80;
    public static String baseDatabasePath = "/sdcard/security_yuyin_indoor/base_database.db";
    public static String cacheDatabasePath = "/sdcard/security_yuyin_indoor/cache_database.db";
    public static String syncDatabasePath = "/sdcard/security_yuyin_indoor/sync_database.db";
    public static String attachmentPath = "/sdcard/security_yuyin_attachment/";
    public static String SUCCESS = "success";
    public static String TRUE = "true";
    public static String FALSE = "false";
    public static String TABLE = "table";
    public static int relayServerPort = 8882;
    public static int guestServerPort = 8886;
    public static int indoorServerPort = 8889;
    public static int personServerPort = 8890;
    public static long reconnectInMilliSeconds = 3000;
    public static boolean useBgrArray = true;
    public static boolean useNv21ToBgr = false;
    public static boolean stopCameraAndVideo = false;
    public static boolean enableTemporaryPerson = true;
    public static String LENGTH = "length";
    public static boolean useOrg = true;
    public static boolean useImport = true;
    public static boolean isYuYin = true;
    public static boolean isIndoor = true;
    public static boolean isOutdoor = !isIndoor;
    public static boolean isUseSerf = false;
    public static boolean autoRestart = false;
    public static boolean landscape = true;
    public static boolean indoorOutdoorInOne = true;
    public static boolean deletePersonPhysical = false;
    public static boolean useLight = false;
    public static boolean isWhiteDevice = false;
    public static String nodeName = "node_indoor";
    public static boolean isUseSocketRpc = false;
 
    public static String deviceId = "PAD97a1cfb8c50c";
    public static String nodeId = "PAD97a1cfb8c50c";
    public static boolean USE_GRAY_CAMERA = false;
    public static String other_node_ip = "192.168.5.22";
    public static boolean isTps650 = true;
    public static boolean isAraBM = false;
 
    static {
        if (USE_GRAY_CAMERA) {
            deviceId = "PAD17a1cfb8c50c";
            nodeId = "PAD17a1cfb8c50c";
            isUseSerf = false;
        } else {
            other_node_ip = "192.168.222.105";
        }
    }
 
    public static String deviceId() {
        return deviceId;
    }
 
    public static String nodeId() {
        return nodeId;
    }
 
    public static String other_node_ip() {
        return other_node_ip;
    }
}