-
Notifications
You must be signed in to change notification settings - Fork 164
/
BaseStackRecord.mo
31 lines (30 loc) · 978 Bytes
/
BaseStackRecord.mo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
within Modelica.Electrical.Batteries.Icons;
partial record BaseStackRecord "Indicates base stack data"
annotation (Icon(coordinateSystem(preserveAspectRatio=true, extent={{-100,-100},{100,100}}), graphics={
Text(
textColor={0,0,255},
extent={{-150,60},{150,100}},
textString="%name"),
Rectangle(
origin={0.0,-25.0},
lineColor={64,64,64},
fillColor={85,170,255},
fillPattern=FillPattern.Solid,
extent={{-100.0,-75.0},{100.0,75.0}},
radius=25),
Line(
points={{-100.0,0.0},{100.0,0.0}},
color={64,64,64}),
Line(
origin={0.0,-50.0},
points={{-100.0,0.0},{100.0,0.0}},
color={64,64,64}),
Line(
origin={0.0,-25.0},
points={{0.0,75.0},{0.0,-75.0}},
color={64,64,64})}), Documentation(info="<html>
<p>
This icon is indicates a record.
</p>
</html>"));
end BaseStackRecord;