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

org.openmuc.jdlms.internal.systemclasses.Clock 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.internal.systemclasses;

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;

@CosemClass(id = 8, version = 0)
public class Clock extends CosemInterfaceObject {

    @CosemAttribute(id = 2, type = Type.OCTET_STRING)
    private DataObject time;

    @CosemAttribute(id = 3, type = Type.LONG64) // TODO
    private DataObject timeZone;

    @CosemAttribute(id = 4, type = Type.UNSIGNED)
    private DataObject status;

    @CosemAttribute(id = 5, type = Type.OCTET_STRING)
    private DataObject daylightSavingBegin;

    @CosemAttribute(id = 6, type = Type.OCTET_STRING)
    private DataObject daylightSavingEnd;

    @CosemAttribute(id = 7, type = Type.INTEGER)
    private DataObject daylightSavingDevication;

    @CosemAttribute(id = 8, type = Type.BOOL)
    private DataObject daylightSavingEnabled;

    @CosemAttribute(id = 9, type = Type.ENUMERATE)
    private DataObject clockBase;

    public Clock() {
        super("0.0.1.0.0.255");
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy