All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dahuatech.icc.multiinone.oss.enums.PictureSplicingFormatEnums Maven / Gradle / Ivy

The newest version!
package com.dahuatech.icc.multiinone.oss.enums;

/**
 * 图片拼接格式
 */
public enum PictureSplicingFormatEnums {
    OssPictureSplicingFormat(1,"oss图片拼接"),
    ParkingLotPictureSplicingFormat(2,"停车场图片拼接"),
    BayonetPictureSplicingFormat(3,"卡口图片拼接");
    public Integer type;
    public String msg;

    PictureSplicingFormatEnums(Integer type, String msg){
        this.type = type;
        this.msg = msg;
    }

    public static boolean isRight(Integer type){
        if(type == null){
            return false;
        }
        for(PictureSplicingFormatEnums item : PictureSplicingFormatEnums.values()){
            if(type.equals(item.type)){
                return true;
            }
        }
        return false;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy