package com.hh.arome.common;

import com.hh.arome.bean.DeviceConfigResultBean;
import com.hh.arome.utlis.device.FaceScenicUtile;

public class ConfigData {

    public static DeviceConfigResultBean deviceConfigResultBean;

    public static void setDeviceConfigResultBean(DeviceConfigResultBean deviceConfigResultBean) {
        ConfigData.deviceConfigResultBean = deviceConfigResultBean;
    }

    public static DeviceConfigResultBean getDeviceConfigResultBean() {
        return deviceConfigResultBean;
    }



    public static String taskStatus = ""; //wait-等待  doing-执行对应操作  complete-得到结果并开始执行商户或联动平台接口请求

    //    public static String machineAppId = "2021004105655125";
    public static String machineAppId = "2021004113614021";

    public static String serviceAppId = "2021003181682188";

    public static String appVersionBPaaS = "*";
    public static boolean isNeed1V1 = false;
    public static String checkWay = "scanFace";
    //    public static String trade = "TRAFFIC";
    public static String trade = "GOVERNMENT";
    public static String groupId = null;
    public static String mSessionId = "";
    public static boolean OnlyBPaas = false;


    // abcp可能的参数
    public static String serviceId = "";
    public static String query = "";
    public static String scope = "";


    public static String QrData = "";//二维码返回

    /**
     * 判断刷脸utile是否存在
     *
     * @param faceScenicUtile
     * @param isLedLight
     */
    public static void setFaceScenicUtile(FaceScenicUtile faceScenicUtile, boolean isLedLight) {
        if (faceScenicUtile != null) {
            faceScenicUtile.setLedLight(isLedLight);
        }
    }

}
