org.openmuc.jdlms.internal.systemclasses.ReadOnlyOctetStrData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jdlms Show documentation
Show all versions of jdlms Show documentation
jDLMS is a library implementing the DLMS/COSEM (IEC 62056) communication standard.
package org.openmuc.jdlms.internal.systemclasses;
import org.openmuc.jdlms.AttributeAccessMode;
import org.openmuc.jdlms.CosemAttribute;
import org.openmuc.jdlms.CosemClass;
import org.openmuc.jdlms.CosemInterfaceObject;
import org.openmuc.jdlms.datatypes.DataObject;
import org.openmuc.jdlms.datatypes.DataObject.Type;
import org.openmuc.jdlms.internal.WellKnownInstanceIds;
@CosemClass(id = 1, version = 0)
public class ReadOnlyOctetStrData extends CosemInterfaceObject {
@CosemAttribute(id = 2, type = Type.OCTET_STRING, accessMode = AttributeAccessMode.READ_ONLY)
private final DataObject value;
public ReadOnlyOctetStrData(DataObject value) {
super(WellKnownInstanceIds.LOGICAL_DEVICE_NAME_ID);
this.value = value;
}
public DataObject getValue() {
return this.value;
}
}