Constant.kt 615 Bytes
package com.huaheng.wmspda

import android.widget.Toast
import com.huaheng.wmspda.util.AppUtils

object Constant {
    //header_xxx请求头信息
    var head_user_agent = "WMS_PDA"
    var head_imdi = ""
    var head_ip = ""
    var head_mac = ""
    var head_api_log = "false"
    const val time_formate = "yyyy-MM-dd HH:mm:ss"
    const val RET_OK = 200
    val PATH_CRASH_LOG = "/sdcard/crash/" + AppUtils.packageName.toString() + "/"
    val PATH_API_LOG = "/sdcard/apilog/" + AppUtils.packageName.toString() + "/"
    const val API_LOG_KEEP_COUNT = 100
    var SAVE_API_LOG = false
    val TOAST_SIZE = 18f
}