Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

874

August 27th, 2012 02:00

[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

5 Practitioner

 • 

274.2K Posts

August 27th, 2012 06:00

I would also add a

refine interface NetworkAdapter {

}

In order for the compiler to know about the NetworkAdapter interface.

30 Posts

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.

5 Practitioner

 • 

274.2K Posts

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 ?

No Events found!

Top