package com.mjsheng.myappstore.comm;


import com.mjsheng.myappstore.BuildConfig;
import com.mjsheng.myappstore.network.Network;

public class CommonDatas {

    public static final String PACKAGE = "colorflykids";
    public static String BABYINFO_CHANGE = PACKAGE + "babyinfo_change";  // 宝宝信息变更标识


    public final static String SP_LOCK = "lock";//锁定用户
    public final static String SP_BABY_AGE_KEY = "age_system";//子系统选择
    public final static String SP_LOCK__KEY = "lock_key";//主界面选择

    public final static String SP_USER_NAME = "user_name";//用户名字
    public final static String SP_USER_PASSWORD = "user_password";//用户密码
    public final static String SP_USER_EMAIL = "user_email";//用户信箱
    public final static String SP_VERSION = "user_version";//版本信息
    public final static String SP_USER_VIP = "user_vip";//用户等级
    public final static String SP_USER_DATE = "user_vip_date";//体验用户使用时间段
    public final static String SP_USER_ALIVE_DATE = "SP_USER_ALIVE_DATE";//用户激活时的时间
    public final static String SP_USER_ALIVE_CODE = "SP_USER_ALIVE_CODE";//用户激活码


    public final static String SP_BABY_HEAD = "age_head";//宝宝头像
    public final static String SP_BABY_NAME = "age_name";//宝宝名字
    public final static String SP_BABY_SEX = "age_sex";//宝宝性别
    public final static String SP_BABY_BIRTHDAY = "age_birthday";//宝宝生日

    public final static String SP_BABY_TITLE = "user_title";//宝宝称谓
    public final static String SP_TOTAL_POINT = "total_point";//总积分
    public final static String SP_TODAY_POINT = "today_point";//今日积分
    public final static String SP_NATIONAL_RANK = "national_rank";//全国排名
    public final static String SP_YESTERDAY_RANK = "yesterday_rank";//历史排名
    public final static String SP_TODAY_RANK = "today_rank";//今日排名


    public final static String SP_PARENT_PASSWORD = "parent_password";//家长密码
    public final static String SP_OLD_PARENT_PASSWORD = "old_parent_password";//旧的家长密码
    public final static String SP_CHANGE_PARENT_PASSWORD = "change_parent_password";//上传家长密码标识
    public final static String SP_CHANGE_BABY_INFO = "change_baby_info";//上传宝宝信息标识
    public final static String SP_CHANGE_LEARN_INFO = "change_learn_info";//上传学习日志标识


    public final static String SP_TIME_CONTROL_NOW = "time_control_now";//时间控制功能临时开关
    public final static String SP_TIME_CONTROL_KEY = "time_control";//时间控制功能开关
    public final static String SP_TIME_CURRENT_REMAINING = "current_remaining_time";//当前剩余时间
    public final static String SP_TIME_REST_REMAINING = "current_rest_time";//当前剩余休息时间
    public final static String SP_BATTEY_CONTROL_KEY = "battey_control";//充电保护开关
    public final static String SP_PASSWORD_LOCK = "password_lock";//家长密码开关
    public final static String SP_DISTANCE_CONTROL_KEY = "distance_control";//距离感应开关

    // 使用时间段
    public final static String SP_SELECT_START_TIME = "start_time";
    public final static String SP_SELECT_END_TIME = "end_time";
    public final static String SP_OLD_START_TIME = "old_start_time";
    public final static String SP_OLD_END_TIME = "old_end_time";


    public final static String SP_SELECT_USE_TIME = "useTimeLong";//使用时长
    public final static String SP_SELECT_REST_TIME = "restTimeLong";//休息时长

    //eventbus 事件
    public final static String SP_LOGIN_SUCCESS = "SP_LOGIN_SUCCESS";//账号登陆成功

    public final static String ENTER_KEY = "enter_key";
//    public final static String UPDATE_URL = "http://www.jiaoguanyi.com/api/update/index";
    public final static String UPDATE_URL = Network.ROOT_URL + "update/index";
    public final static String UPDATE_PKG = BuildConfig.APPLICATION_ID;


    public static boolean IS_UPDATE_DOLOADING = false;
    public static String IS_RESET = "IS_RESET";
    public static int MIN_POWER = 21;
    public static String FORCE_INSTALL = "FORCE_INSTALL";

    public static final String ACTION_HrReceiver_JGY_DIS = "qch_jgy_network_disallow";
    public static final String ACTION_HrReceiver_JGY = "qch_jgy_network_allow";
    public static final String FLAG_FIRST_ENTER = "qch_first_enter";


}
