Search in sources :

Example 1 with BdaInt64

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);
}
Also used : BdaInt64(com.beanit.openiec61850.BdaInt64)

Example 2 with BdaInt64

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;
}
Also used : BdaInt64(com.beanit.openiec61850.BdaInt64)

Example 3 with BdaInt64

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;
}
Also used : BdaInt64(org.openmuc.openiec61850.BdaInt64)

Example 4 with BdaInt64

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);
}
Also used : BdaInt64(org.openmuc.openiec61850.BdaInt64)

Aggregations

BdaInt64 (com.beanit.openiec61850.BdaInt64)2 BdaInt64 (org.openmuc.openiec61850.BdaInt64)2