package com.basic.security.utils;
|
|
public class Constants {
|
public static boolean isHuaWeiPad = false;
|
public static boolean isMonkeyApk = false;
|
// rk3399
|
public static boolean useAlf = false;
|
public static int RGB_CAMERA = useAlf ? 1 : 0;
|
public static int GRAY_CAMERA = useAlf ? 0 : 1;
|
public static int rotation = useAlf ? 270 : 270;
|
public static boolean useLight = false;
|
public static boolean USE_GRAY_CAMERA = false;
|
// 华为平板
|
// public static int RGB_CAMERA = isHuaWeiPad ? 1 : 0;
|
// public static int GRAY_CAMERA = isHuaWeiPad ? 0 : 1;
|
// 阿尔法
|
// public static boolean useAef = true;
|
// public static int RGB_CAMERA = isHuaWeiPad ? 0 : 1;
|
// public static int GRAY_CAMERA = isHuaWeiPad ? 1 : 0;
|
// public static int rotation = 270;
|
public static boolean needIdCardModule = false;
|
public static boolean showCapturedImages = false;
|
//5.1.1的那个是旧的 白色pad的是新的
|
public static boolean isNewIDCardReader = false;
|
//删除标识:0-未删除 1-已删除
|
public static int delFlag = 0;
|
//存储当前设备的device_id
|
public static String deviceId = "PAD64c9a722d7a6";
|
public static String erlangLocalNode = "xuxiuxipad@192.168.1.119";
|
public static boolean syncToErlang = false;
|
public static boolean printSql = false;
|
public static boolean showLog = true;
|
public static boolean showLog1 = false;
|
public static long compareFeatureTime;
|
public static float score = 0.0f;
|
public static int minRecognizeScore = 80;
|
public static String baseDatabasePath = "/sdcard/security_yuyin_outdoor_database/base_database.db";
|
public static String cacheDatabasePath = "/sdcard/security_yuyin_outdoor_database/cache_database.db";
|
public static String syncDatabasePath = "/sdcard/security_yuyin_outdoor_database/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 cameraServerPort = 8880;
|
public static int snapshotServerPort = 8881;
|
public static int relayServerPort = 8882;
|
public static int faceTimeServerPort = 8883;
|
public static int officeServerPort = 8884;
|
public static int sqliteServerPort = 8885;
|
public static int guestServerPort = 8886;
|
public static int indoorServerPort = 8889;
|
public static int personServerPort = 8890;
|
public static int cameraImagePathDownloadServerPort = 8887;
|
public static long reconnectInMilliSeconds = 3000;
|
// public static boolean needIdCardModule = false;
|
public static boolean useBgrArray = true;
|
public static boolean useNv21ToBgr = false;
|
public static boolean stopCameraAndVideo = false;
|
public static boolean enableTemporaryPerson = true;
|
public static boolean useErlangVersion2 = true;
|
public static boolean guestSignUp = false;
|
public static String localIp = "127.0.0.1";
|
public static String LENGTH = "length";
|
public static boolean useGuest = true;
|
public static boolean sqliteSync = false;
|
public static String apkName = "Security_yuyin_outdoor_white";
|
public static String getApkUrl = "http://www.aiotlink.com:8080/getApk?apkName="+apkName+"¤tApkVersion=1";
|
public static String webRtcServerStarted = "webRtcServerStarted";
|
public static String webRtcClientConnected = "webRtcClientConnected";
|
public static boolean useOrg = true;
|
public static boolean useImport = true;
|
public static boolean isYuYin = true;
|
public static String isDeleteTrue = "isDeleteTrue";
|
public static String isDeleteFalse = "isDeleteFalse";
|
public static String enableFalse = "enableFalse";
|
public static String enableTrue = "enableTrue";
|
public static boolean isIndoor = false;
|
public static boolean isOutdoor = !isIndoor;
|
public static boolean isUseSerf = true;
|
public static boolean autoRestart = false;
|
public static boolean landscape = false;
|
public static boolean indoorOutdoorInOne = false;
|
public static boolean deletePersonPhysical = true;
|
public static boolean isWhiteDevice = false;
|
public static String nodeId = "PAD64c9a722d7a6";
|
public static boolean useUsbAttachDetachReceiver = false;
|
public static String nodeName = "node_outdoor";
|
public static String other_node_ip = "192.168.5.22";
|
public static boolean isUseSocketRpc = false;
|
public static boolean isTps650 = false;
|
public static boolean isAraBM = false;
|
public static boolean productionMode = true;
|
|
static {
|
if (USE_GRAY_CAMERA) {
|
deviceId = "PAD14c9a722d7a6";
|
nodeId = "PAD14c9a722d7a6";
|
// isUseSerf = false;
|
} else {
|
other_node_ip = "192.168.222.103";
|
}
|
}
|
public static String deviceId() {
|
return deviceId;
|
}
|
public static String nodeId() {
|
return nodeId;
|
}
|
public static String other_node_ip() {
|
return other_node_ip;
|
}
|
}
|