Ticket #4346: test.mo

File test.mo, 627 bytes (added by Jan Kokert, 9 years ago)
Line 
1model test
2 Modelica.Electrical.Analog.Basic.Resistor resistor(R = 1) annotation(
3 Placement(visible = true, transformation(origin = {0, 20}, extent = {{-10, -10}, {10, 10}}, rotation = -90)));
4protected
5 Real test = 123;
6 Modelica.Electrical.Analog.Basic.Ground ground annotation(
7 Placement(HideResult=true, visible = true, transformation(origin = {0, -10}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
8equation
9 connect(resistor.n, ground.p) annotation(
10 Line(points = {{0, 10}, {0, 10}, {0, 0}, {0, 0}}, color = {0, 0, 255}));
11 annotation(
12 uses(Modelica(version = "3.2.2")));
13end test;