package com.casic.br.utils

import android.Manifest
import com.casic.br.R


object LocaleConstant {
    /**
     * =============================================================================================
     * Array
     * =============================================================================================
     * */
    val USER_PERMISSIONS = arrayOf(
        Manifest.permission.ACCESS_LOCATION_EXTRA_COMMANDS,
        Manifest.permission.ACCESS_COARSE_LOCATION, Manifest.permission.ACCESS_FINE_LOCATION,
        Manifest.permission.CAMERA, Manifest.permission.READ_EXTERNAL_STORAGE,
        Manifest.permission.READ_PHONE_STATE
    )
    val SHOP_IMAGE = intArrayOf(R.mipmap.ic_launcher, R.mipmap.ic_launcher, R.mipmap.ic_launcher)
    val SHOP_OPERATE = arrayOf("购物车", "我的订单", "故障售后")
    val SHOP_PAGE_OPERATE = arrayOf("推荐", "智能厨房", "智能家居", "配件")
    val SERVER_IMAGE = intArrayOf(
        R.mipmap.ic_launcher,
        R.mipmap.ic_launcher,
        R.mipmap.ic_launcher,
        R.mipmap.ic_launcher
    )
    val SERVER_OPERATE = arrayOf("待付款", "待服务", "服务中", "评价")
    val USER_OPERATE = arrayOf("账号安全", "账号绑定", "支付管理", "地址管理", "系统设置")
    val GENDER_ARRAY = arrayListOf("男", "女")
    val SETTINGS_OPERATE = arrayOf("通知设置", "清除缓存", "服务协议", "隐私声明", "关于我们")
    val HOME_FUNC_OPERATE = arrayOf("户号管理", "燃气缴费", "历史账单", "用气分析", "服务网点", "采暖补贴")
    val CONNECT_IMAGE = intArrayOf(R.mipmap.ic_launcher, R.mipmap.ic_launcher)
    val CONNECT_ARRAY = arrayOf("客服电话", "抢修电话")

    /**
     * =============================================================================================
     * Int
     * =============================================================================================
     * */
    const val PERMISSIONS_CODE = 999
    const val PAGE_LIMIT = 20

    /**
     * =============================================================================================
     * Long
     * =============================================================================================
     * */


    /**
     * =============================================================================================
     * String
     * =============================================================================================
     * */
    const val USER_IS_LOGIN = "isLogin"
    const val HOME_ID = "homeId"
    const val USER_MODEL = "userModel"
    const val SERVER_BASE_URL = "http://111.198.10.15:11304"
    const val DEFAULT_SERVER_CONFIG = "defaultServerConfig"
    const val ACCOUNT = "account"
    const val PASSWORD = "password"
}