mirror of
https://github.com/appinfosapienza/so-un-bot.git
synced 2025-03-14 17:06:14 +01:00
54 lines
No EOL
400 B
Text
54 lines
No EOL
400 B
Text
<pre>
|
|
connector InputInteger = input Integer;
|
|
|
|
connector OutputInteger = output Integer;
|
|
|
|
block C1
|
|
|
|
InputInteger u;
|
|
|
|
OutputInteger x;
|
|
|
|
...
|
|
|
|
end C1;
|
|
|
|
block C2
|
|
|
|
InputInteger u;
|
|
|
|
OutputInteger x;
|
|
|
|
...
|
|
|
|
end C2;
|
|
|
|
block C3
|
|
|
|
InputInteger u;
|
|
|
|
OutputInteger x;
|
|
|
|
...
|
|
|
|
end C3;
|
|
|
|
class System
|
|
|
|
C1 k1;
|
|
|
|
C2 k2;
|
|
|
|
C3 k3;
|
|
|
|
equation
|
|
|
|
connect(k1.x, k1.u);
|
|
|
|
connect(k2.x, k2.u);
|
|
|
|
connect(k3.x, k3.u);
|
|
|
|
end System;
|
|
|
|
</pre> |