If importing the following model in SysON:
package root {
enum def Enum1 {
e1;
e2;
}
part p2 {
attribute z1 : Enum1 = Enum1::e1;
attribute z2 : Enum1 = e1;
}
}
Exporting this model gives:
package root {
enum def Enum1 {
e1;
e2;
}
part p2 {
attribute z1 : Enum1 = e1;
attribute z2 : Enum1 = e1;
}
}
It seems incorrect to simply use "e1" in "z1" and "z2" to reference the literal.