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