-
Notifications
You must be signed in to change notification settings - Fork 164
/
ComplexInput.mo
29 lines (29 loc) · 994 Bytes
/
ComplexInput.mo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
within Modelica.ComplexBlocks.Interfaces;
connector ComplexInput = input Complex "'input Complex' as connector"
annotation (
IconMap(primitivesVisible=false),
defaultComponentName="u",
Icon(coordinateSystem(
extent={{-100,-100},{100,100}},
preserveAspectRatio=true,
initialScale=0.2), graphics={Polygon(
points={{-100,100},{100,0},{-100,-100},{-100,100}},
lineColor={85,170,255},
fillColor={85,170,255},
fillPattern=FillPattern.Solid)}),
Diagram(coordinateSystem(
preserveAspectRatio=true,
initialScale=0.2,
extent={{-100,-100},{100,100}}), graphics={Polygon(
points={{0,50},{100,0},{0,-50},{0,50}},
lineColor={85,170,255},
fillColor={85,170,255},
fillPattern=FillPattern.Solid), Text(
extent={{-10,85},{-10,60}},
textColor={85,170,255},
textString="%name")}),
Documentation(info="<html>
<p>
Connector with one input signal of type Complex.
</p>
</html>"));