Skip to content

Commit 34bb7af

Browse files
committed
Fix icon view
1 parent 4572795 commit 34bb7af

File tree

13 files changed

+13
-15
lines changed

13 files changed

+13
-15
lines changed

ConPNlib/Examples/Test10.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ equation
1616
connect(T2.outPlaces[1], P4.inTransition[1]) annotation(Line(points = {{4.7, -40}, {50.9434, -40}, {50.9434, -40}, {50.7, -40}}));
1717
connect(T1.outPlaces[1], P3.inTransition[1]) annotation(Line(points = {{4.7, 40}, {50.4717, 40}, {50.4717, 40}, {50.7, 40}}));
1818
connect(P1.outTransition[1], T1.inPlaces[1]) annotation(Line(points = {{-50.7, 40}, {-4.71698, 40}, {-4.71698, 39.5}, {-4.7, 39.5}}));
19-
annotation(experiment(StartTime = 0, StopTime = 3, Tolerance = 1e-006), Diagram(coordinateSystem(extent = {{-80, -60}, {80, 60}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2, 2})), Icon(coordinateSystem(extent = {{-80, -60}, {80, 60}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2, 2})));
19+
annotation(experiment(StartTime = 0, StopTime = 3, Tolerance = 1e-006), Diagram(coordinateSystem(extent = {{-80, -60}, {80, 60}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2, 2})));
2020
end Test10;

ConPNlib/Examples/Test11.mo

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,5 @@ equation
3737
color={0,0,0},
3838
smooth=Smooth.None));
3939
annotation(experiment(StartTime = 0, StopTime = 2, Tolerance = 1e-006), Diagram(coordinateSystem(extent={{-80,-20},
40-
{80,20}}, preserveAspectRatio=false, initialScale = 0.1, grid = {2, 2}),
41-
graphics), Icon(coordinateSystem(extent = {{-80, -20}, {80, 20}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})));
40+
{80,20}}, preserveAspectRatio=false, initialScale = 0.1, grid = {2, 2}), graphics));
4241
end Test11;

ConPNlib/Examples/Test12.mo

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,5 @@ equation
3535
color={0,0,0},
3636
smooth=Smooth.None));
3737
annotation (Diagram(coordinateSystem(preserveAspectRatio=false, extent={{-60,-40},
38-
{60,40}}), graphics), Icon(coordinateSystem(extent={{-60,-40},
39-
{60,40}})));
38+
{60,40}}), graphics));
4039
end Test12;

ConPNlib/Examples/Test1a.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
within ConPNlib.Examples;
22
model Test1a
33
ConPNlib.PC P1 annotation(Placement(visible = true, transformation(origin = {20, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
4-
annotation(experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-006), Diagram(coordinateSystem(extent = {{0, -20}, {40, 20}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})), Icon(coordinateSystem(extent = {{0, -20}, {40, 20}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})));
4+
annotation(experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-006), Diagram(coordinateSystem(extent = {{0, -20}, {40, 20}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})));
55
end Test1a;

ConPNlib/Examples/Test1b.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
within ConPNlib.Examples;
22
model Test1b
33
ConPNlib.TC T1 annotation(Placement(visible = true, transformation(origin = {-20, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
4-
annotation(experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-006), Diagram(coordinateSystem(extent = {{-40, -20}, {0, 20}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})), Icon(coordinateSystem(extent = {{-40, -20}, {0, 20}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})));
4+
annotation(experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-006), Diagram(coordinateSystem(extent = {{-40, -20}, {0, 20}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})));
55
end Test1b;

ConPNlib/Examples/Test2.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ model Test2
44
ConPNlib.PC P1(nOut = 1, startMarks = 1) annotation(Placement(visible = true, transformation(origin = {-20, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
55
equation
66
connect(P1.outTransition[1], T1.inPlaces[1]) annotation(Line(points = {{-10.7, 0}, {-10.7, 0}, {15.3, 0}}));
7-
annotation(experiment(StartTime = 0, StopTime = 2, Tolerance = 1e-006), Diagram(coordinateSystem(extent = {{-40, -20}, {40, 20}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})), Icon(coordinateSystem(extent = {{-40, -20}, {40, 20}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})));
7+
annotation(experiment(StartTime = 0, StopTime = 2, Tolerance = 1e-006), Diagram(coordinateSystem(extent = {{-40, -20}, {40, 20}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})));
88
end Test2;

ConPNlib/Examples/Test3.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ model Test3
44
ConPNlib.PC P1(nIn = 1) annotation(Placement(visible = true, transformation(origin = {20, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
55
equation
66
connect(T1.outPlaces[1], P1.inTransition[1]) annotation(Line(points = {{-15.3, 0}, {10.7, 0}}));
7-
annotation(experiment(StartTime = 0, StopTime = 2, Tolerance = 1e-006), Diagram(coordinateSystem(extent = {{-40, -20}, {40, 20}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})), Icon(coordinateSystem(extent = {{-40, -20}, {40, 20}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})));
7+
annotation(experiment(StartTime = 0, StopTime = 2, Tolerance = 1e-006), Diagram(coordinateSystem(extent = {{-40, -20}, {40, 20}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})));
88
end Test3;

ConPNlib/Examples/Test4.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ equation
88
connect(P1.outTransition[1], T1.inPlaces[1]) annotation(Line(points = {{-50.7, 0}, {-24.7, 0}}));
99
connect(P2.inTransition[1], T1.outPlaces[1]) annotation(Line(points = {{10.7, 0}, {-15.3, 0}}));
1010
connect(P2.outTransition[1], T2.inPlaces[1]) annotation(Line(points = {{29.3, 0}, {55.3, 0}}));
11-
annotation(experiment(StartTime = 0, StopTime = 2, Tolerance = 1e-006), Diagram(coordinateSystem(extent = {{-80, -20}, {80, 20}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})), Icon(coordinateSystem(extent = {{-80, -20}, {80, 20}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})));
11+
annotation(experiment(StartTime = 0, StopTime = 2, Tolerance = 1e-006), Diagram(coordinateSystem(extent = {{-80, -20}, {80, 20}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2})));
1212
end Test4;

ConPNlib/Examples/Test5.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ model Test5
66
equation
77
connect(T1.outPlaces[1], P2.inTransition[1]) annotation(Line(points = {{4.7, 10}, {4.7, 10}, {20.7, 10}}));
88
connect(P1.outTransition[1], T1.inPlaces[1]) annotation(Line(points = {{-20.7, 10}, {-20.7, 10}, {-4.7, 10}}));
9-
annotation(Diagram(coordinateSystem(extent = {{-60, -20}, {60, 40}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2}), graphics), Icon(coordinateSystem(extent = {{-60, -20}, {60, 40}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2, 2})), experiment(StartTime = 0, StopTime = 2, Tolerance = 1e-006));
9+
annotation(Diagram(coordinateSystem(extent = {{-60, -20}, {60, 40}}, preserveAspectRatio = false, initialScale = 0.1, grid = {2, 2}), graphics), experiment(StartTime = 0, StopTime = 2, Tolerance = 1e-006));
1010
end Test5;

ConPNlib/Examples/Test6.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ model Test6
66
equation
77
connect(T1.outPlaces[1], P2.inTransition[1]) annotation(Line(points = {{4.7, 10}, {4.7, 10}, {20.7, 10}}));
88
connect(P1.outTransition[1], T1.inPlaces[1]) annotation(Line(points = {{-20.7, 10}, {-20.7, 10}, {-4.7, 10}}));
9-
annotation(Diagram(coordinateSystem(extent = {{-60, -20}, {60, 40}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2, 2})), Icon(coordinateSystem(extent = {{-60, -20}, {60, 40}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2, 2})), experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-006));
9+
annotation(Diagram(coordinateSystem(extent = {{-60, -20}, {60, 40}}, preserveAspectRatio = true, initialScale = 0.1, grid = {2, 2})), experiment(StartTime = 0, StopTime = 1, Tolerance = 1e-006));
1010
end Test6;

0 commit comments

Comments
 (0)