package com.tofly.ghrq_route.base;

import android.os.Environment;

/**
 * ip地址的接口类
 * Created by zombiexq on 2016/6/13.
 */
public class C {

    public static final class dir {//内存卡中的路径
        public static final String base          = Environment.getExternalStorageDirectory() +"/ghrq_route";

        public static final String images	    = base + "/images/";
        public static final String temp			= base + "/temp/";
        public static final String data         = base+"/data/";
        public static final String log         = base+"/log/";
    }


    public static final int DEFAULT_LOAD_PAGESIZE = 10;
    public static final int DEFAULT_MAX_LOAD_PAGESIZE = 1000;
    public static final int UPLOAD_SAVED_LIMIT_COUNT = 100;
    public static final int UPLOAD_SAVED_LIMIT_BIG_COUNT = 500;
    public static final int UPLOAD_SAVED_LIMIT_MAX_COUNT = 1000;

    /**
     * request code
     */
    public interface REQUEST_CODE {
        int SELECT_ADDR_REQUEST_CODE = 0x100;
        int SELECT_DEVICE_REQUEST_CODE = 0x101;
        int SIGNATURE_REQUEST_CODE = 0x102;
    }

    /**
     * 调试时使用
     */

    public static final boolean is_debug = false;

    public static final boolean bUseFakeData = false;
    public static final String strFakeImei_debug = "358239053286102";
    //登录时是否检测最新的服务器地址配置信息
    public static final boolean bLoginCheckServerConfig_debug = is_debug ? false : true;
    /*强制进设置界面后设置端口号为8180端口*/
    public static final boolean bForceSettingDefaultServerPort = false;

    //巡检详情页NFC模块开启
    public static final boolean bPlanDetailNFCModual_debug = true;

    //是否开启本地日志，是则开始记录
    public static final boolean bLogDeviceGpsInfo_debug = true;

    //是否记录地图工具页面百度和arcgis的定位数据
    public static final boolean bLogMapToolLocForBaiduArcgis_debug = true;

    //是否开启主界面底部提示框 （网络链接，未上传信息）
    public static final boolean bShowMainBottomHintInfo_debug = false;

    public static final String BAIDU_DEBUG = "baidu_debug";
    public static final String ARCGIS_DEBUG = "arcgis_debug";
    public static final String AMAP_DEBUG = "amap_debug";

    public static final String BAIDU_SERVICE_NAME = "com.baidu.location.f";
    public static final String AMAP_SERVICE_NAME = "com.amap.api.location.APSService";

    public static final boolean bUseLocalMap = false;
    public static final String local_tpk_file = "arcsde_data.tpk";
    public static final String locak_geo_file = "arcsde_data.geodatabase";

    public static final boolean is_passed_notify = true;
}
