Search in sources :

Example 6 with BdaInt32

use of com.beanit.openiec61850.BdaInt32 in project Protocol-Adapter-IEC61850 by OSGP.

the class NodeContainer method writeInteger.

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

Example 7 with BdaInt32

use of com.beanit.openiec61850.BdaInt32 in project open-smart-grid-platform by OSGP.

the class NodeContainer method writeInteger.

public void writeInteger(final SubDataAttribute child, final Integer value) throws NodeWriteException {
    final BdaInt32 bdaInteger = (BdaInt32) this.parent.getChild(child.getDescription());
    bdaInteger.setValue(value);
    this.writeNode(bdaInteger);
}
Also used : BdaInt32(com.beanit.openiec61850.BdaInt32)

Example 8 with BdaInt32

use of com.beanit.openiec61850.BdaInt32 in project open-smart-grid-platform by OSGP.

the class LogicalDevice method incrementInt.

protected BasicDataAttribute incrementInt(final LogicalDeviceNode node) {
    final BdaInt32 value = (BdaInt32) this.serverModel.findModelNode(this.createNodeName(node), node.getFc());
    value.setValue(value.getValue() + 1);
    return value;
}
Also used : BdaInt32(com.beanit.openiec61850.BdaInt32)

Aggregations

BdaInt32 (com.beanit.openiec61850.BdaInt32)4 BdaInt32 (org.openmuc.openiec61850.BdaInt32)4