so-un-bot/0721_37/wrong1.txt
2022-11-15 14:27:16 +01:00

14 lines
No EOL
216 B
Text

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