Commit 0d473ded authored by Dominique Marcadet's avatar Dominique Marcadet

display warning when no controls in anyLN

parent a366218d
......@@ -2671,6 +2671,10 @@ public class ExtRefImpl extends BaseElementImpl implements ExtRef {
listControls.addAll( lDevice.getLN0().getGSEControl() );
listControls.addAll( lDevice.getLN0().getSampledValueControl() );
}
if( listControls.size() == 0 ) {
console.warning( messagePrefix + "control not found because there are none of them in AnyLN line " + anyLN.getLeft().getLineNumber() );
return;
}
List< Control > res7 =
listControls
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment