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

com.dahuatech.icc.cirs.enums.DeviceStatusEnums Maven / Gradle / Ivy

There is a newer version: 1.0.13.7
Show newest version
package com.dahuatech.icc.cirs.enums;

public enum DeviceStatusEnums {
    OFFLINE("0","离线"),
    OPENONLINE("1","在线开屏"),
    CLOSEONLIE("2","在线关屏"),
    UPGRADE("3","升级中"),
    ;
    public String code;
    public String msg;

    DeviceStatusEnums(String code,String msg){
        this.code = code;
        this.msg = msg;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy