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);
}
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);
}
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;
}