forked from modelica/ModelicaStandardLibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ClockInput.mo
32 lines (32 loc) · 1.21 KB
/
ClockInput.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
30
31
32
within Modelica.Clocked.ClockSignals.Interfaces;
connector ClockInput = input Clock "'input Clock' as connector"
annotation (defaultComponentName="u",
Icon(graphics={Polygon(
points={{-34,6},{20,0},{-34,-8},{-34,6}},
lineColor={175,175,175},
fillColor={175,175,175},
fillPattern=FillPattern.Solid,
pattern=LinePattern.Dot,
lineThickness=0.5),
Polygon(
points={{-100,100},{100,0},{-100,-100},{-100,100}},
lineColor={95,95,95},
fillColor={95,95,95},
fillPattern=FillPattern.Solid)},
coordinateSystem(extent={{-100,-100},{100,100}},
preserveAspectRatio=true, initialScale=0.2)), Diagram(coordinateSystem(
preserveAspectRatio=true, initialScale=0.2,
extent={{-100,-100},{100,100}}),
graphics={Polygon(
points={{0,50},{100,0},{0,-50},{0,50}},
lineColor={95,95,95},
fillColor={95,95,95},
fillPattern=FillPattern.Solid), Text(
extent={{-10,85},{-10,60}},
textColor={0,0,255},
textString="%name")}),
Documentation(info="<html>
<p>
Connector with one input signal of type Clock.
</p>
</html>"));