so-un-bot/Ingegneria del Software/0621_11/wrong0.txt
2022-11-14 16:15:16 +01:00

13 lines
No EOL
217 B
Text

class Monitor
InputReal x, y;
OutputBoolean wy;
Boolean wz;
initial equation
wy = false;
equation
wz = (time > 60) and (delay(x, 10) <= 0) and (y >= 0);
algorithm
when edge(wz) then
wy := true;
end when;
end Monitor;