trigger-invocation-expression-at-argument
Available in: SysML
This checks that at expression is a time instant value.
Specification
If a
TriggerInvocationExpressionhaskind = at, then it must have anargumentExpressionwith aresultthat conforms to the typeTime::TimeInstantValue.
Example
action {
accept at 4 [SI::s]; // error
}
Use a time instant instead of duration:
action {
accept at Time::universalClock.currentTime; // ok
}