package com.basic.security.utils;
|
|
public class Constants {
|
|
public static boolean isHuaWeiPad = false;
|
public static boolean isMonkeyApk = false;
|
|
// rk3399
|
// public static int RGB_CAMERA = 0;
|
// public static int GRAY_CAMERA = 1;
|
// public static int rotation = 90;
|
// public static boolean useAef = false;
|
|
// 华为平板
|
// public static int RGB_CAMERA = isHuaWeiPad ? 1 : 0;
|
// public static int GRAY_CAMERA = isHuaWeiPad ? 0 : 1;
|
|
// 阿尔法
|
public static boolean useAlf = true;
|
// public static int RGB_CAMERA = isHuaWeiPad ? 0 : 1;
|
// public static int GRAY_CAMERA = isHuaWeiPad ? 1 : 0;
|
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 needIdCardModule = false;
|
|
// 使用红外摄像头
|
public static boolean USE_GRAY_CAMERA = false;
|
|
public static boolean showCapturedImages = false;
|
|
|
//5.1.1的那个是旧的 白色pad的是新的
|
public static boolean isNewIDCardReader = true;
|
|
// 上部播放视频
|
public static boolean simulate_camera = false;
|
|
//删除标识:0-未删除 1-已删除
|
public static int delFlag = 0;
|
//存储当前设备的device_id
|
public static String deviceId = "liuxin";
|
|
public static String erlangLocalNode = "xuxiuxipad@192.168.1.103";
|
public static String TABLE = "table";
|
|
public static boolean syncToErlang = false;
|
public static boolean useCouchbase = 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_simplify_database/base_database.db";
|
public static String cacheDatabasePath = "/sdcard/security_simplify_database/cache_database.db";
|
public static String syncDatabasePath = "/sdcard/security_simplify_database/sync_database.db";
|
public static String attachmentPath = "/sdcard/security_simplify_attachment/";
|
|
|
public static String SUCCESS = "success";
|
public static String TRUE = "true";
|
public static String FALSE = "false";
|
|
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 yuvServerPort = 8889;
|
|
public static long reconnectInMilliSeconds = 3000;
|
|
// public static boolean needIdCardModule = false;
|
|
public static boolean useBgrArray = true;
|
public static boolean useNv21ToBgr = false;
|
public static boolean enableTemporaryPerson = false;
|
public static boolean useCamera = false;
|
|
public static String updateApkUrl = "http://192.168.1.116/";
|
public static String updateApkFileName = "Security_simplify_gpu_V10.8.0_v2_2.apk";
|
public static boolean useLight = true;
|
|
public static String webRtcClientConnected = "webRtcClientConnected";
|
public static String webRtcServerStarted = "webRtcServerStarted";
|
|
public static boolean autoRestart = true;
|
//Security_simplify4.apk
|
public static String getApkUrl = "http://www.aiotlink.com:8080/getApk?apkName=Security_simplify¤tApkVersion=5";
|
|
public static boolean useVisitRecord = false;
|
public static boolean uploadVisitToES = false;
|
|
public static boolean landscape = false;
|
}
|