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