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.BLUETOOTH_ADMIN,
        Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE,
        Manifest.permission.READ_PHONE_STATE, Manifest.permission.BLUETOOTH
    )
    val SHOP_IMAGE = intArrayOf(
        R.drawable.ic_gouwuche, R.drawable.ic_dingdan, R.drawable.ic_shouhou
    )
    val SHOP_OPERATE = arrayOf("购物车", "我的订单", "故障售后")
    val SHOP_PAGE_OPERATE = arrayOf("推荐", "智能厨房", "智能家居", "配件")
    val SERVER_IMAGE = intArrayOf(
        R.drawable.ic_daifukuan, R.drawable.ic_daifuwu,
        R.drawable.ic_fuwuzhong, R.drawable.ic_pingjia
    )
    val SERVER_OPERATE = arrayOf("待付款", "待服务", "服务中", "评价")
    val USER_OPERATE = arrayOf("账号安全", "账号绑定", "支付管理", "地址管理", "系统设置")
    val GENDER_ARRAY = arrayListOf("男", "女")
    val SETTINGS_OPERATE = arrayOf("通知设置", "清除缓存", "服务协议", "隐私声明", "关于我们")
    val HOME_FUNC_OPERATE = arrayOf("户号管理", "燃气缴费", "历史账单", "用气分析", "服务网点", "采暖补贴")
    val DEVICE_PAGE_TITLE = arrayOf("设备控制", "状态显示", "服务设置")
    val T_H_PAGE_TITLE = arrayOf("温度记录", "湿度记录")
    val CONNECT_IMAGE = intArrayOf(R.drawable.ic_kefu, R.drawable.ic_weixiu)
    val CONNECT_ARRAY = arrayOf("客服电话", "抢修电话")

    //TODO 模拟数据
    val TEST_IMAGE = intArrayOf(
        R.mipmap.t_1,
        R.mipmap.t_2,
        R.mipmap.t_3,
        R.mipmap.t_4,
        R.mipmap.t_5,
        R.mipmap.t_6,
        R.mipmap.t_7,
        R.mipmap.t_8
    )
    val TEST_ARRAY = arrayOf(
        "24LS01壁挂炉",
        "多功能智能热水器",
        "24LC01壁挂炉",
        "16RC01热水器",
        "TXC01油烟机",
        "QZE03燃气灶",
        "多功能智能油烟机",
        "多功能智能燃气灶"
    )

    //预置颜色
    val COLORS = arrayOf(
        R.color.color_1, R.color.color_2, R.color.color_3,
        R.color.color_4, R.color.color_5, R.color.color_6,
        R.color.color_7, R.color.color_8, R.color.color_9
    )

    /**
     * =============================================================================================
     * Float
     * =============================================================================================
     * */
    const val VIEW_ENABLE = 1.0f
    const val VIEW_DISABLE = 0.3f

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

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


    /**
     * =============================================================================================
     * String
     * =============================================================================================
     * */
    const val PUSH_CLIENT_ID = "clientId"
    const val COUNTRY_CODE = "86"
    const val LOGIN_TIME = "loginTime"
    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:21403"
    const val DEFAULT_SERVER_CONFIG = "defaultServerConfig"
    const val WIFI_PASSWORD = "wifiPassword"
    const val ACCOUNT = "account"
    const val PASSWORD = "password"
}