Search in sources :

Example 1 with BdaQuality

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

the class LogicalDevice method setQuality.

protected BasicDataAttribute setQuality(final String node, final Fc fc, final short q) {
    final BdaQuality value = (BdaQuality) this.serverModel.findModelNode(this.createNodeName(node), fc);
    value.setValue(this.shortToByteArray(q));
    return value;
}
Also used : BdaQuality(org.openmuc.openiec61850.BdaQuality)

Example 2 with BdaQuality

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

the class LogicalDevice method setQuality.

protected BasicDataAttribute setQuality(final LogicalDeviceNode node, final QualityType q) {
    final BdaQuality value = (BdaQuality) this.serverModel.findModelNode(this.createNodeName(node), node.getFc());
    value.setValue(this.shortToByteArray(q.getValue()));
    return value;
}
Also used : BdaQuality(com.beanit.openiec61850.BdaQuality)

Aggregations

BdaQuality (com.beanit.openiec61850.BdaQuality)1 BdaQuality (org.openmuc.openiec61850.BdaQuality)1