package com.naz.sdkdemo.comm;

import okhttp3.MediaType;

/**
 * Description:
 * Author: ydd
 * Date:2020/10/22
 */
public class Constants {
    public static final int SIZE20 = 20;
    public static final MediaType JSON = MediaType.parse("application/json; charset=utf-8");
    public static final MediaType FILE = MediaType.parse("multipart/form-data");
    /**
     * 设备code
     */
    public static final String DEVICE_CODE = "DEVICE_CODE";
    /**
     * 登陆标示
     */
    public static final String IS_LOING = "IS_LOGIN";
    /**
     * 登陆类型
     */
    public static final String LOGIN_TYPE = "LOGIN_TYPE";
    /**
     * 存放用户到缓存的标识
     **/
    public static final String USERCACHEKEY = "USERDETAIL";
    /**
     * TOKNE
     */
    public static final String TOKEN = "TOKEN";

    /**
     * 第一次进来
     */
    public static final String IS_FIRST = "IS_FIRST";

    /**
     * contect
     */
    public static final String CONTECTED_ADDRESS = "CONTECT_ADDRESS";


    /**
     * contect
     */
    public static final String INTERNERT_URL = "INTERNERT_URL";

    public static final String IP = "IP";
    public static final String PORT = "PORT";
    public static final String SERIAL_NAME = "SERIAL_NAME";
    public static final String SERIAL_RATE = "SERIAL_RATE";

    public static String mark_speed = "01f4";//500转十进制，高低位
    public static String mark_num = "0001";//1
    public static String mark_length = "0040";//60
}
