package com.fdkankan.model.constants;

public class ConstantFilePath {
    public static final String BASE_PATH = "/mnt/4Dkankan";
    //论坛上传图片后，服务器存放的地址
    public static final String BBS_IMAGES_PATH = "/mnt/4Dkankan/bbs/upload/image/";
    // 用户上传图片
    public static final String USER_IMAGES_PATH = "/mnt/4Dkankan/user/";
    // 图片暂存地址（创建二维码等）
    public static final String TEMP_IMAGES_PATH = "/mnt/4Dkankan/temp/upload/image/";
    // 场景
    public static final String SCENE_PATH = "/mnt/4Dkankan/scene/";
    // 场景
    public static final String SCENE_V4_PATH = "/mnt/4Dkankan/scene_v4/";
    // 代理商
    public static final String AGENT_PATH = "/mnt/4Dkankan/agent/";
    //电子发票
    public static final String INVOICE_PATH = "/mnt/4Dkankan/invoice/";
    // 场景二维码
    public static final String SCENE_QR_CODE_PATH = "/mnt/4Dkankan/sceneQRcode/";
    // excel
    public static final String EXCEL_PATH = "/mnt/4Dkankan/excel/";
    //    public static final String EXCEL_PATH = "F:\\excel\\";
    // medias
    public static final String MEDIAS_PATH = "/mnt/4Dkankan/medias/";
    // logo
    public static final String LOGO_PATH = "/mnt/4Dkankan/logo/";
    // login qr code
    public static final String LOGIN_QR_CODE_PATH = "/mnt/4Dkankan/login/qrcode/";

    public static final String WEIXIN_CERT = "/mnt/home/ubuntu/user/apiclient_cert.p12";

    public static final String PREFIX = "/home/user";
    public static final String CREATE_MODEL_PATH = PREFIX + "/photo_data/model/";
    //大场景
    public static final String CREATE_BIG_SCENE_PATH = PREFIX + "/photo_data/bigscene/";
    //生成模型的路径
    public static final String BUILD_MODEL_PATH = "/mnt/data/";
    //生成模型的路径
    public static String BUILD_MODEL_LASER_PATH ="/mnt/data/";

    //支付二维码图片存放路径
    public static final String ALI_QRCODE_FOLDER = "/mnt/4Dkankan/alicode/";
    public static final String WEIXIN_QRCODE_FOLDER = "/mnt/4Dkankan/weixincode/";

    public static final String OSS_PREFIX = "home/";

    /**
     * 场景数据文件路径
     */
    public static final String DATABUFFER_FORMAT = SCENE_PATH + "data/data%s/";

    /**
     * 场景数据文件路径
     */
    public static final String IMAGESBUFFER_FORMAT = SCENE_PATH + "images/images%s/";

    /**
     * 漫游文件路径
     */
    public static final String TOURLIST_PATH_FORMAT = SCENE_PATH + "data/data%s/" + ConstantFileName.TOUR_LIST;

    /**
     * 漫游文件路径
     */
    public static final String TOURLIST_FOLDER_PATH_FORMAT = SCENE_PATH + "data/data%s/" + ConstantFileName.TOURLIST_FOLDER;

    /**
     * scenejson文件本地路径
     */
    public static final String SCENE_PATH_FORMAT = DATABUFFER_FORMAT + ConstantFileName.SCENE_JSON;

    /**
     * scenejson文件本地路径 V4
     */
    public static final String SCENE_JSON_V4_PATH = SCENE_V4_PATH + "data/data%s/" + ConstantFileName.SCENE_JSON;

    public static final String MEDIAINFO_PATH_FORMAT = DATABUFFER_FORMAT + ConstantFileName.MEDIA_DATAFILE;

    public void setHardDiskLaser(String value){
        ConstantFilePath.BUILD_MODEL_LASER_PATH = value;
    }

    /**
     * 场景编辑数据目录
     */
    public static final String SCENE_EDIT_DATA = "scene_edit_data/";

    /**
     * 场景编辑用户上传数据目录
     */
    public static final String SCENE_EDIT_DATA_USER = SCENE_EDIT_DATA + "%s/user/";

    /**
     * 场景编辑数据data目录
     */
    public static final String SCENE_EDIT_DATA_DATA = SCENE_EDIT_DATA + "%s/data/";

    /**
     * 场景发布数据目录
     */
    public static final String SCENE_VIEW_DATA = "scene_view_data/";

    /**
     * 场景发布用户上传数据目录
     */
    public static final String SCENE_VIEW_DATA_USER = SCENE_VIEW_DATA + "%s/user/";

    /**
     * 场景发布数据data目录
     */
    public static final String SCENE_VIEW_DATA_DATA= SCENE_VIEW_DATA + "%s/data/";

    /**
     * 场景发布scene.json路径
     */
    public static final String SCENE_VIEW_DATA_DATA_SCENEJSON= SCENE_VIEW_DATA + "%s/data/scene.json";

    public static final String DATA_PATH_FORMAT = "data/data%s/";
    public static final String IMAGE_PATH_FORMAT = "images/images%s/";
    public static final String VIDEO_PATH_FORMAT = "video/video%s/";

    public static final String SCENE_CACHE_IMAGES = SCENE_PATH + "%s/caches/images/";

    public static final String SCENE_CACHE = SCENE_PATH + "%s/caches/";

    public static final String SCENE_DATA_PATH_V4 = SCENE_V4_PATH + "%s/data/";

    public static final String SCENE_IMAGES_PATH_V4 = SCENE_V4_PATH + "%s/images/";

    public static final String SCENE_VIDEOS_PATH_V4 = SCENE_V4_PATH + "%s/video/";

    public static final String SCENE_VOICES_PATH_V4 = SCENE_V4_PATH + "%s/voice/";

    public static final String SCENE_USER_PATH_V4 = SCENE_V4_PATH + "%s/user/";

    public static final String SCENE_TMP_PATH_V4 = SCENE_V4_PATH + "%s/tmp/";

    /**
     * 文件转换目录
     */
    public static final String FILE_CONVERT_PATH = BASE_PATH + "/fileConvert/";

    /**
     * 文件转换目录
     */
    public static final String OPENAPI_DOWNLOAD_PATH = SCENE_V4_PATH + "%s/openApi/download/";




    public static void main(String[] args) {

        System.out.println(String.format(ConstantFilePath.SCENE_PATH_FORMAT, "123"));
    }
}
