Hi
I'm triying to figure out how code generation for triggers in state machine transitions is performed.
In the code template for triggers I get the following:
%PI=""%
$GUID = $parameter1
%if $GUID==""%
%endTemplate%
$sName = %EASL_GET("Property", $GUID, "Name")%
$Event = %EASL_GET("Property", $GUID, "Event")%
$EventKind = %EASL_GET("Property", $Event, "EventKind")%
%if $EventKind=="ekCall"%
$sExpression = %EASL_GET("Property", $Event, "Operation")%
%elseIf $EventKind=="ekTime"%
$sExpression = %EASL_GET("Property", $Event, "When")%
%elseIf $EventKind=="ekSignal"%
$sExpression = %EASL_GET("Property", $Event, "Signal")%
%elseIf $EventKind=="ekChange"%
$sExpression = %EASL_GET("Property", $Event, "ChangeExpression")%
%endIf%
%if $sName != "" and $sExpression != ""%
($sName == $sExpression)
%endIf%
My question is: where can I define the operation of the event (call event)?
The same for the time, change and signal events.. where can these properties be set in the model?
Many thanx
Davide