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

org.openmuc.jdlms.AttributeAccessMode Maven / Gradle / Ivy

Go to download

jDLMS is a library implementing the DLMS/COSEM (IEC 62056) communication standard.

There is a newer version: 1.8.0
Show newest version
package org.openmuc.jdlms;

import org.openmuc.jdlms.internal.DlmsEnumeration;

/**
 * The access restrictions for COSEM attributes.
 */
public enum AttributeAccessMode implements DlmsEnumeration {
    NO_ACCESS(0),
    READ_ONLY(1),
    WRITE_ONLY(2),
    READ_AND_WRITE(3),
    AUTHENTICATED_READ_ONLY(4),
    AUTHENTICATED_WRITE_ONLY(5),
    AUTHENTICATED_READ_AND_WRITE(6);

    private int code;

    private AttributeAccessMode(int code) {
        this.code = code;
    }

    @Override
    public long getCode() {
        return code;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy