Ticket #3608: P.mo

File P.mo, 761 bytes (added by adeas31, 9 years ago)
Line 
1package P
2  package Components
3    model PropDriver
4      annotation(Icon(graphics = {Rectangle(lineColor = {0, 0, 255}, fillColor = {0, 0, 255}, extent = {{-100, 100}, {100, -100}}), Ellipse(lineColor = {0, 0, 255}, fillColor = {0, 0, 255}, extent = {{-80, 80}, {80, -80}}, endAngle = 360)}), Diagram);
5    end PropDriver;
6    annotation(Icon, Diagram);
7  end Components;
8
9  package DO
10    package P
11      annotation(Icon, Diagram);
12    end P;
13
14    model ThreeLosses
15      P.Components.PropDriver propdriver1 annotation(Placement(visible = true, transformation(origin = {-14, 8}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
16      annotation(Icon, Diagram);
17    end ThreeLosses;
18    annotation(Icon, Diagram);
19  end DO;
20  annotation(Icon, Diagram);
21end P;