This post is more than 5 years old
30 Posts
0
876
[DYNMODEL] Use problems/events from other classes
Hello
We build a class test with dynamic modelling. Now we would like to get an event or problem (Disabled) from the class interface.
Does anybody know how to get this symptom into my own created class test?
The relationship to the Interface is LayeredOver.
I already tried following:
propagate symptom Disabled "" = Interface,LayeredOver.
If I try to compile with dynmodel -Wb,ProblemMode I got the error that the specified symbol is not an interface.
Regards,
Christian
Anonymous
5 Practitioner
5 Practitioner
•
274.2K Posts
0
August 27th, 2012 06:00
I would also add a
refine interface NetworkAdapter {
}
In order for the compiler to know about the NetworkAdapter interface.
Christian4
30 Posts
0
August 27th, 2012 05:00
interface SC_test:ICIM_ProtocolEndpoint
""
{
propagate symptom Disabled "The interface is disabled" => NetworkAdapter,LayeredOver;
problem InterfaceDisabled => Disabled;
}
Error message by executing dynmodel -Wb,ProblemMode test.mdl:
dynmodel: "test.mdl": specified symbol is not an interface: NetworkAdapter
dynmodel: test.mdl: found 1 error
Compilation aborted due to errors.
Anonymous
5 Practitioner
5 Practitioner
•
274.2K Posts
0
August 27th, 2012 05:00
It would be easier to help you if you included the full code and pasted the error message.
Do you have a refine of Interface (even if empty) in your source ?