Skip to content
Snippets Groups Projects
Commit 9572de5e authored by Dominique Marcadet's avatar Dominique Marcadet
Browse files

correct duplicated constraint names

parent 8b66570b
No related branches found
No related tags found
1 merge request!2Resolve "Helpers should be in a SCL class"
......@@ -32,7 +32,7 @@ context SDO
self.name <> null
-- The name attribute shall be valid
inv SDO_name_required
inv SDO_name_valid
( 'name attribute shall be valid in SDO (line ' + self.lineNumber.toString() + ')). '
+ 'Current value is ' + self.name.toString()
)
......
......@@ -61,7 +61,7 @@ context SampledValueControl
-- The nofASDU attribute shall be an unsignedInt
-- Note: unsignedInt are EInt in the metaModel
inv SampledValueControl_nofASDU_required
inv SampledValueControl_nofASDU_valid
( 'nofASDU attribute shall be present in SampledValueControl (line ' + self.lineNumber.toString() + '). '
+ 'Current value is ' + self.nofASDU.toString()
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment