Skip to content

Commit 172efe0

Browse files
Moved displayInstanceName to 'Layout' tab - done everything i wanted to do so far (exept parameters)
1 parent ba92deb commit 172efe0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ThermofluidStream/TestIcons.mo

-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ model TestIcons
202202
Undirected.FlowControl.MCV mCV3(setpointFromInput=true, enableClippingOutput=true) annotation (Placement(transformation(extent={{-500,-620},{-480,-600}})));
203203
Undirected.FlowControl.CheckValve checkValve1 annotation (Placement(transformation(extent={{-420,-620},{-400,-600}})));
204204
Undirected.FlowControl.MCV mCV4(
205-
displayInstanceName=false,
206205
setpointFromInput=true,
207206
enableClippingOutput=true) annotation (Placement(transformation(extent={{-460,-620},{-440,-600}})));
208207
Undirected.Sensors.SingleSensorSelect singleSensorSelect3(outputValue=true) annotation (Placement(transformation(extent={{120,-582},{140,-562}})));

ThermofluidStream/Utilities/DropOfCommonsPlus.mo

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ model DropOfCommonsPlus "Extend this to use 'dropOfCommons', 'displayInstanceNam
33
protected
44
outer DropOfCommons dropOfCommons;
55
public
6-
parameter Boolean displayInstanceName = dropOfCommons.displayInstanceNames "= true, if you wish to display the component name" annotation(Dialog(group="Layout"),Evaluate=true, HideResult=true);
6+
parameter Boolean displayInstanceName = dropOfCommons.displayInstanceNames "= true, if you wish to display the component name" annotation(Dialog(tab="Layout"),Evaluate=true, HideResult=true);
77

88
end DropOfCommonsPlus;

0 commit comments

Comments
 (0)