use of com.beanit.openiec61850.BdaInt64 in project open-smart-grid-platform 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);
}
use of com.beanit.openiec61850.BdaInt64 in project open-smart-grid-platform by OSGP.
the class LogicalDevice method setFixedInt.
protected BasicDataAttribute setFixedInt(final LogicalDeviceNode node, final int val) {
final BdaInt64 value = (BdaInt64) this.serverModel.findModelNode(this.createNodeName(node), node.getFc());
value.setValue((byte) val);
return value;
}
use of com.beanit.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;
}
use of com.beanit.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);
}