Changes between Initial Version and Version 3 of Ticket #3450
- Timestamp:
- 2015-09-10T06:32:30Z (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3450 – Description
initial v3 13 13 ------------------------------------------------------ 14 14 package CTest 15 15 16 model ExampleModel 16 Component component annotation(Placement(visible = true, transformation(origin = {0, 0}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); 17 inner Ambient ambient annotation(Placement(visible = true, transformation(origin = {-90, 70}, extent = {{-10, -10}, {10, 10}}, rotation = 0))); 18 annotation(Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5}))); 17 Component component; 18 inner Ambient ambient; 19 19 end ExampleModel; 20 20 … … 22 22 extends CTest.AmbientBase(redeclare final function func = CTest.func(x = x)); 23 23 parameter Real x = 5; 24 annotation(Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));25 24 end Ambient; 26 25 … … 28 27 replaceable partial function func = CTest.func; 29 28 parameter Real var_value = 2; 30 annotation(Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));31 29 end AmbientBase; 32 30 … … 37 35 equation 38 36 z = var; 39 annotation(Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));40 37 end Component; 41 38 … … 45 42 algorithm 46 43 y := x + 2; 47 annotation(Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5})));48 44 end func; 49 annotation(Diagram(coordinateSystem(extent = {{-148.5, -105}, {148.5, 105}}, preserveAspectRatio = true, initialScale = 0.1, grid = {5, 5}))); 45 50 46 end CTest; 51 47 -------------------------------------------------------