Skip to content

Commit

Permalink
fix(uml):[TR-1417] reduce complexity of expression
Browse files Browse the repository at this point in the history
  • Loading branch information
mkanal committed Oct 16, 2023
1 parent 910884c commit 7e441c0
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,12 @@ else (yes)
endif

: ValidityPeriodChecker in own aas;
if(PartAsPlanned.validityPeriod.validFrom
>= validityTimestamp
>= PartAsPlanned.validityPeriod.validTo) then (yes)
if(timestamp is in validity period) then (yes)
note left
PartAsPlanned.validityPeriod.validFrom
>= validityTimestamp
>= PartAsPlanned.validityPeriod.validTo
end note
: add twin;
else (no)
: skip twin;
Expand Down

0 comments on commit 7e441c0

Please sign in to comment.