mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-05-07 00:59:37 +02:00
We finally have files!
This commit is contained in:
commit
475f284670
48 changed files with 2022 additions and 0 deletions
19
Ingegneria del Software/1/wrong.txt
Normal file
19
Ingegneria del Software/1/wrong.txt
Normal file
|
@ -0,0 +1,19 @@
|
|||
<pre>
|
||||
class Monitor
|
||||
|
||||
InputReal x; // plant output
|
||||
OutputBoolean y;
|
||||
|
||||
Boolean z;
|
||||
|
||||
initial equation
|
||||
|
||||
y = false;
|
||||
equation
|
||||
z = (time > 0) and (x > 0) and (x < 5);
|
||||
algorithm
|
||||
when edge(z) then
|
||||
y := true;
|
||||
end when;
|
||||
end Monitor;
|
||||
</pre>
|
Loading…
Add table
Add a link
Reference in a new issue