Search in sources :

Example 1 with BdaInt64

use of org.openmuc.openiec61850.BdaInt64 in project Protocol-Adapter-IEC61850 by OSGP.

the class LogicalDevice method setFixedInt.

protected BasicDataAttribute setFixedInt(final String node, final Fc fc, final int val) {
    final BdaInt64 value = (BdaInt64) this.serverModel.findModelNode(this.createNodeName(node), fc);
    value.setValue((byte) val);
    return value;
}
Also used : BdaInt64(org.openmuc.openiec61850.BdaInt64)

Example 2 with BdaInt64

use of org.openmuc.openiec61850.BdaInt64 in project Protocol-Adapter-IEC61850 by OSGP.

the class NodeContainer method writeLong.

public void writeLong(final SubDataAttribute child, final Integer value) throws NodeWriteException {
    final BdaInt64 bdaInteger = (BdaInt64) this.parent.getChild(child.getDescription());
    bdaInteger.setValue(value);
    this.writeNode(bdaInteger);
}
Also used : BdaInt64(org.openmuc.openiec61850.BdaInt64)

Aggregations

BdaInt64 (org.openmuc.openiec61850.BdaInt64)2