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