Ticket #4091: DisplayUnit.mo
| File DisplayUnit.mo, 350 bytes (added by , 10 years ago) |
|---|
| Line | |
|---|---|
| 1 | within ; |
| 2 | package DisplayUnit |
| 3 | type Voltage = Modelica.SIunits.Voltage(displayUnit = "kV"); |
| 4 | model Component |
| 5 | parameter Voltage V; |
| 6 | end Component; |
| 7 | model Test |
| 8 | Component component1(V = 110000) annotation(Placement(visible = true, transformation(origin = {0, 0}, extent = {{-44, -44}, {44, 44}}, rotation = 0))); |
| 9 | end Test; |
| 10 | end DisplayUnit; |
