Skip to content

Commit 68c6f66

Browse files
authored
Add icon to FMU block (#43)
1 parent 7fe92d1 commit 68c6f66

33 files changed

+116
-239
lines changed

FMI/FMI2/Interfaces/FMI2BooleanInput.mo

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,7 @@ connector FMI2BooleanInput = input FMI2Boolean "'input FMI2Boolean' as connector
66
points={{-100,100},{100,0},{-100,-100},{-100,100}},
77
lineColor={255,0,255},
88
fillColor={255,0,255},
9-
fillPattern=FillPattern.Solid),
10-
Text(
11-
textColor={0,0,0},
12-
extent={{140,-20},{140,20}},
13-
textString="%name",
14-
horizontalAlignment=TextAlignment.Left)},
15-
coordinateSystem(
9+
fillPattern=FillPattern.Solid)}, coordinateSystem(
1610
extent={{-100,-100},{100,100}},
1711
preserveAspectRatio=true,
1812
initialScale=0.2)),

FMI/FMI2/Interfaces/FMI2BooleanOutput.mo

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,7 @@ connector FMI2BooleanOutput = output FMI2Boolean "'output FMI2Boolean' as connec
88
points={{-100,100},{100,0},{-100,-100},{-100,100}},
99
lineColor={255,0,255},
1010
fillColor={255,255,255},
11-
fillPattern=FillPattern.Solid),
12-
Text(
13-
textColor={0,0,0},
14-
extent={{-180,-40},{-180,40}},
15-
textString="%name",
16-
horizontalAlignment=TextAlignment.Right)}),
11+
fillPattern=FillPattern.Solid)}),
1712
Diagram(coordinateSystem(
1813
preserveAspectRatio=true,
1914
extent={{-100,-100},{100,100}}), graphics={Polygon(

FMI/FMI2/Interfaces/FMI2IntegerInput.mo

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,7 @@ connector FMI2IntegerInput = input FMI2Integer "'input FMI2Integer' as connector
66
points={{-100,100},{100,0},{-100,-100},{-100,100}},
77
lineColor={255,127,0},
88
fillColor={255,127,0},
9-
fillPattern=FillPattern.Solid),
10-
Text(
11-
textColor={0,0,0},
12-
extent={{140,-20},{140,20}},
13-
textString="%name",
14-
horizontalAlignment=TextAlignment.Left)},
15-
coordinateSystem(
9+
fillPattern=FillPattern.Solid)}, coordinateSystem(
1610
extent={{-100,-100},{100,100}},
1711
preserveAspectRatio=true,
1812
initialScale=0.2)),

FMI/FMI2/Interfaces/FMI2IntegerOutput.mo

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,7 @@ connector FMI2IntegerOutput = output FMI2Integer "'output FMI2Integer' as connec
88
points={{-100,100},{100,0},{-100,-100},{-100,100}},
99
lineColor={255,127,0},
1010
fillColor={255,255,255},
11-
fillPattern=FillPattern.Solid),
12-
Text(
13-
textColor={0,0,0},
14-
extent={{-180,-40},{-180,40}},
15-
textString="%name",
16-
horizontalAlignment=TextAlignment.Right)}),
11+
fillPattern=FillPattern.Solid)}),
1712
Diagram(coordinateSystem(
1813
preserveAspectRatio=true,
1914
extent={{-100,-100},{100,100}}), graphics={Polygon(

FMI/FMI2/Interfaces/FMI2RealInput.mo

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,7 @@ connector FMI2RealInput = input FMI2Real "'input FMI2Real' as connector" annotat
66
lineColor={0,0,127},
77
fillColor={0,0,127},
88
fillPattern=FillPattern.Solid,
9-
points={{-100.0,100.0},{100.0,0.0},{-100.0,-100.0}}),
10-
Text(
11-
textColor={0,0,0},
12-
extent={{140,-20},{140,20}},
13-
textString="%name",
14-
horizontalAlignment=TextAlignment.Left)},
9+
points={{-100.0,100.0},{100.0,0.0},{-100.0,-100.0}})},
1510
coordinateSystem(extent={{-100.0,-100.0},{100.0,100.0}},
1611
preserveAspectRatio=true,
1712
initialScale=0.2)),

FMI/FMI2/Interfaces/FMI2RealOutput.mo

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,7 @@ connector FMI2RealOutput = output FMI2Real "'output FMI2Real' as connector" anno
99
lineColor={0,0,127},
1010
fillColor={255,255,255},
1111
fillPattern=FillPattern.Solid,
12-
points={{-100.0,100.0},{100.0,0.0},{-100.0,-100.0}}),
13-
Text(
14-
textColor={0,0,0},
15-
extent={{-180,-40},{-180,40}},
16-
textString="%name",
17-
horizontalAlignment=TextAlignment.Right)}),
12+
points={{-100.0,100.0},{100.0,0.0},{-100.0,-100.0}})}),
1813
Diagram(
1914
coordinateSystem(preserveAspectRatio=true,
2015
extent={{-100.0,-100.0},{100.0,100.0}}),

FMI/FMI3/Interfaces/FMI3BooleanInput.mo

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@ connector FMI3BooleanInput = input FMI3Boolean "'input FMI3Boolean' as connect
55
points={{-100,100},{100,0},{-100,-100},{-100,100}},
66
lineColor={255,0,255},
77
fillColor={255,0,255},
8-
fillPattern=FillPattern.Solid),
9-
Text(
10-
textColor={0,0,0},
11-
extent={{140,-20},{140,20}},
12-
textString="%name",
13-
horizontalAlignment=TextAlignment.Left)},
14-
coordinateSystem(
8+
fillPattern=FillPattern.Solid)}, coordinateSystem(
159
extent={{-100,-100},{100,100}},
1610
preserveAspectRatio=true,
1711
initialScale=0.2)),

FMI/FMI3/Interfaces/FMI3BooleanOutput.mo

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,7 @@ connector FMI3BooleanOutput = output FMI3Boolean "'output FMI3Boolean' as connec
77
points={{-100,100},{100,0},{-100,-100},{-100,100}},
88
lineColor={255,0,255},
99
fillColor={255,255,255},
10-
fillPattern=FillPattern.Solid),
11-
Text(
12-
textColor={0,0,0},
13-
extent={{-180,-40},{-180,40}},
14-
textString="%name",
15-
horizontalAlignment=TextAlignment.Right)}),
10+
fillPattern=FillPattern.Solid)}),
1611
Diagram(coordinateSystem(
1712
preserveAspectRatio=true,
1813
extent={{-100,-100},{100,100}}), graphics={Polygon(

FMI/FMI3/Interfaces/FMI3Float32Input.mo

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,7 @@ connector FMI3Float32Input = input FMI3Float32 "'input FMI3Float32' as connect
66
lineColor={0,0,127},
77
fillColor={0,0,127},
88
fillPattern=FillPattern.Solid,
9-
points={{-100.0,100.0},{100.0,0.0},{-100.0,-100.0}}),
10-
Text(
11-
textColor={0,0,0},
12-
extent={{140,-20},{140,20}},
13-
textString="%name",
14-
horizontalAlignment=TextAlignment.Left)},
9+
points={{-100.0,100.0},{100.0,0.0},{-100.0,-100.0}})},
1510
coordinateSystem(extent={{-100.0,-100.0},{100.0,100.0}},
1611
preserveAspectRatio=true,
1712
initialScale=0.2)),

FMI/FMI3/Interfaces/FMI3Float32Output.mo

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,7 @@ connector FMI3Float32Output = output FMI3Float32 "'output FMI3Float32' as connec
99
lineColor={0,0,127},
1010
fillColor={255,255,255},
1111
fillPattern=FillPattern.Solid,
12-
points={{-100.0,100.0},{100.0,0.0},{-100.0,-100.0}}),
13-
Text(
14-
textColor={0,0,0},
15-
extent={{-180,-40},{-180,40}},
16-
textString="%name",
17-
horizontalAlignment=TextAlignment.Right)}),
12+
points={{-100.0,100.0},{100.0,0.0},{-100.0,-100.0}})}),
1813
Diagram(
1914
coordinateSystem(preserveAspectRatio=true,
2015
extent={{-100.0,-100.0},{100.0,100.0}}),

0 commit comments

Comments
 (0)