Shape-Typen
Das Kapitel beschreibt die Shape-Typen (Grafikobjekt-Typen), die in das XML-Format bzw. das WinCC OA spezifische Format konvertiert werden können. Da alle Grafikobjekte die Eigenschaften wie Namen, Vordergrund- und Hintergrundfarbe, Tab-Reihenfolge, Typ, Bezugspunkt, Tooltip-Text und Seriennummer enthalten und diese bereits im Kapitel Struktur der XML-Datei beschrieben wurden, beschreibt dieses Kapitel nur die Eigenschaften, die für ein Grafikobjekt spezifisch sind.
Einfache Grafikobjekte:
Komplexe Grafikobjekte:
Einfache Grafikobjekte
Einfacher Text
Ein einfacher Text mit Maus-Hover.
<shape
shapeType="PRIMITIVE_TEXT" layerId="0" Name="PRIMITIVE_TEXT1"
>
<properties>
<prop name="serialId" >0</prop>
<prop name="RefPoint" >30 20</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_3DText</prop>
<prop name="BackColor" >_invalid</prop>
<prop name="HoverForeCol" >blue</prop>
<prop name="HoverBackCol" >{255,0,0,76}</prop>
<prop name="TabOrder" >0</prop>
<prop name="DashBackColor" >_Transparent</prop>
<prop name="LineType" >[solid,oneColor,JoinBevel,CapButt,1]</prop>
<prop name="FillType" >[hatch,[parallel,10,right]]</prop>
<prop name="Location" >30 20</prop>
<prop name="Size" >141 51</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Text" >
<prop name="de_AT.iso88591" >Simple
Text</prop>
<prop name="en_US.iso88591" >Simple
Text</prop>
</prop>
<prop name="Distance" >2</prop>
<prop name="BorderOffset" >2</prop>
<prop name="Bordered" >False</prop>
<prop name="Fit" >False</prop>
<prop name="TextFormat" >[0s,,,ALIGNMENT_BEGINNING]</prop>
</properties>
</shape>
"BorderOffset" - definiert den Abstand zwischen dem Text und den Rändern.
"Bordered" - definiert, ob die Ränder sichtbar sind oder nicht.
"Distance" - definiert den Zeilenabstand.
"Fit" - passt die Größe des Textrahmens an den Text an. "True" = Textrahmen passt sich automatisch an. "False" = der Textrahmen kann mit der Maus angepasst werden.
Location - die Startposition des Textes. Über diese wird die Ausrichtung berechnet.
Rahmen
BorderStyle - definiert, ob die Ränder "normal", "3D", "versenkt" oder "erhoben" sind.
<shape shapeType="FRAME" layerId="0" Name="FRAME1" >
<properties>
<prop name="serialId" >1</prop>
<prop name="RefPoint" >40 123</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_WindowText</prop>
<prop name="BackColor" >{0,0,0}</prop>
<prop name="TabOrder" >1</prop>
<prop name="BorderStyle" >3D</prop>
<prop name="DashBackColor" >_Transparent</prop>
<prop name="LineType" >[solid,oneColor,JoinMiter,CapButt,0]</prop>
<prop name="FillType" >[outline]</prop>
<prop name="Text" >
<prop name="de_AT.iso88591" >Frame Title</prop>
<prop name="en_US.iso88591" >Frame Title</prop>
</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >40 123</prop>
<prop name="Size" >191 98</prop>
</properties>
</shape>
Rechteck
<shape shapeType="RECTANGLE" layerId="0" Name="RECTANGLE1" >
<properties>
<prop name="serialId" >2</prop>
<prop name="RefPoint" >320 20</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >{0,0,0}</prop>
<prop name="BackColor" >{255,255,255}</prop>
<prop name="TabOrder" >2</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="DashBackColor" >_Transparent</prop>
<prop name="LineType" >[solid,oneColor,JoinBevel,CapButt,1]</prop>
<prop name="FillType" >[solid]</prop>
<prop name="Location" >320 20</prop>
<prop name="Size" >141 111</prop>
</properties>
</shape>
Polygon
<shape shapeType="POLYGON" layerId="0" Name="POLYGON1" >
<properties>
<prop name="serialId" >3</prop>
<prop name="RefPoint" >360 170</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >{0,0,0}</prop>
<prop name="BackColor" >{255,255,255}</prop>
<prop name="TabOrder" >3</prop>
<prop name="DashBackColor" >_Transparent</prop>
<prop name="LineType" >[solid,oneColor,JoinBevel,CapButt,1]</prop>
<prop name="FillType" >[solid]</prop>
<prop name="Closed" >True</prop>
<prop name="Points" >
<prop name="Location" >360 170</prop>
<prop name="Location" >300 200</prop>
<prop name="Location" >420 260</prop>
<prop name="Location" >440 190</prop>
</prop>
</properties>
</shape>
Geometry - gibt den Rotationswinkel und die Skalierung an. Der Wert sollte wegen der Komplexität nicht in der XML-Datei definiert werden, sondern mithilfe des GEDI.
Closed - definiert, ob das Polygon als eine geschlossene Form dargestellt wird
Points - gibt jeweils die Lage eines Verbindungspunktes zwischen zwei Kanten
Kreisbogen
Die Grafikobjekte Kreis, Kreisbogen und Ellipse enthalten die gleichen Eigenschaften wie die Objekte, die bereits beschrieben wurden. Zusätzlich enthalten sie:
X-Radius - horizontaler Radius.
Y-Radius - vertikaler Radius.
Center - gibt den Mittelpunkt eines Kreisbogens oder einer Ellipse an.
Closed - gibt den Kreisbogentyp an: "Bogenstück" (Closed = 0), "Tortenstück" (Closed = 1), "Kreis Segment" (Closed = 2).
Start und End - definieren wo der Kreisbogen beginnt und endet. Die Werte sind äquivalent zu left, right, top und bottom im GEDI.
<shape shapeType="ARC" layerId="0" Name="ARC1" >
<properties>
<prop name="serialId" >5</prop>
<prop name="RefPoint" >210 250</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >{0,0,0}</prop>
<prop name="BackColor" >{255,255,255}</prop>
<prop name="TabOrder" >5</prop>
<prop name="DashBackColor" >_Transparent</prop>
<prop name="LineType" >[solid,oneColor,JoinRound,CapButt,1]</prop>
<prop name="FillType" >[solid]</prop>
<prop name="Geometry" >1 0 0 1 -90 100</prop>
<prop name="Center" >210 250</prop>
<prop name="X-Radius" >90</prop>
<prop name="Y-Radius" >90</prop>
<prop name="Start" >120 250</prop>
<prop name="End" >190 230</prop>
<prop name="Closed" >1</prop>
</properties>
</shape>
Ellipse
<shape shapeType="ELLIPSE" layerId="0" Name="ELLIPSE1" >
<properties>
<prop name="serialId" >6</prop>
<prop name="RefPoint" >370 430</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >{0,0,0}</prop>
<prop name="BackColor" >{255,255,255}</prop>
<prop name="TabOrder" >6</prop>
<prop name="DashBackColor" >_Transparent</prop>
<prop name="LineType" >[solid,oneColor,JoinBevel,CapButt,1]</prop>
<prop name="FillType" >[solid]</prop>
<prop name="Center" >370 430</prop>
<prop name="X-Radius" >80</prop>
<prop name="Y-Radius" >30</prop>
</properties>
</shape>
Kreis
<shape shapeType="ELLIPSE" layerId="0" Name="ELLIPSE2" >
<properties>
<prop name="serialId" >7</prop>
<prop name="RefPoint" >100 520</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >{0,0,0}</prop>
<prop name="BackColor" >{255,255,255}</prop>
<prop name="TabOrder" >7</prop>
<prop name="DashBackColor" >_Transparent</prop>
<prop name="LineType" >[solid,oneColor,JoinBevel,CapButt,1]</prop>
<prop name="FillType" >[solid]</prop>
<prop name="Center" >100 520</prop>
<prop name="X-Radius" >40</prop>
<prop name="Y-Radius" >40</prop>
</properties>
</shape>
Pipe (Rohr)
<shape shapeType="PIPE" layerId="0" Name="PIPE1" >
<properties>
<prop name="serialId" >8</prop>
<prop name="RefPoint" >230 490</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >{0,0,0}</prop>
<prop name="BackColor" >{255,255,255}</prop>
<prop name="TabOrder" >8</prop>
<prop name="DashBackColor" >_Transparent</prop>
<prop name="LineType" >[solid,oneColor,JoinBevel,CapButt,1]</prop>
<prop name="Points" >
<prop name="Location" >230 490</prop>
<prop name="Location" >360 490</prop>
<prop name="Location" >360 550</prop>
<prop name="Location" >440 550</prop>
</prop>
<prop name="BeginStyle" >0</prop>
<prop name="EndStyle" >0</prop>
<prop name="Width" >21</prop>
</properties>
</shape>
BeginStyle und EndStyle definieren den Style der Endungen des Rohres: "0" = Open (Offen) - siehe Abbildung oben.
Werden die Styles der Endungen wie folgt definiert,
<prop
name="BeginStyle" >1</prop>
<prop name="EndStyle" >2</prop>
sieht das Rohr im Panel folgendermaßen aus:
D.h. "1" = Closed (Geschlossen) und "2" = Connector (Verbinder)
Linie
Das Shape Linie enthält die Linien-spezifischen Eigenschaften:
Hotkey - Tastenkürzel
DashBackColor - Strich-Hintergrundfarbe
Selectable - definiert, ob die Linie auswählbar ist.
LineType - Rahmen [Stil, Mehrfarbigkeit, Verbindung, Kappe, Breite]
Start- und Endpunkte definieren die Punkte wo die Linie beginnt und endet. Siehe Kapitel Eigenschaften von Grafikobjekten (Registerkarte Normal)
<shape shapeType="LINE" layerId="0" Name="LINE1" >
<properties>
<prop name="serialId" >9</prop>
<prop name="RefPoint" >140 610</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >{0,0,0}</prop>
<prop name="BackColor" >{255,255,255}</prop>
<prop name="TabOrder" >9</prop>
<prop name="DashBackColor" >_Transparent</prop>
<prop name="LineType" >[solid,oneColor,JoinBevel,CapButt,1]</prop>
<prop name="Start" >140 610</prop>
<prop name="End" >230 560</prop>
</properties>
</shape>
Komplexe Grafikobjekte
Auswahlliste
<shape shapeType="SELECTION_LIST" layerId="0" Name="SELECTION_LIST1" >
<properties>
<prop name="serialId" >0</prop>
<prop name="RefPoint" >20 20</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_WindowText</prop>
<prop name="BackColor" >_Window</prop>
<prop name="TabOrder" >0</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >20 20</prop>
<prop name="Size" >111 101</prop>
<prop name="Listitems" >
<prop name="Item" >
<prop name="Text" >
<prop name="de_AT.iso88591" >Engine</prop>
<prop name="en_US.iso88591" >???</prop>
</prop>
<prop name="Select" >False</prop>
</prop>
<prop name="Item" >
<prop name="Text" >
<prop name="de_AT.iso88591" >Pump</prop>
<prop name="en_US.iso88591" >???</prop>
</prop>
<prop name="Select" >False</prop>
</prop>
<prop name="Item" >
<prop name="Text" >
<prop name="de_AT.iso88591" >Flow rate</prop>
<prop name="en_US.iso88591" >???</prop>
</prop>
<prop name="Select" >False</prop>
</prop>
</prop>
</properties>
</shape>
Die Checkbox, Radiobox, Combobox und Auswahlliste enthalten zwei neue Eigenschaften.
Listitems - Listenelemente. Die Elemente können durch Selektieren einer Checkbox, Radiobox, Combobox-Option oder Listen-Option ausgewählt werden. Die Elemente werden in jeder Sprache angezeigt (falls es sich um ein mehrsprachiges Projekt handelt).
Select - gibt an, ob sich das Element im markierten Zustand befindet.
Combobox
<shape shapeType="COMBO_BOX" layerId="0" Name="COMBO_BOX1" >
<properties>
<prop name="serialId" >1</prop>
<prop name="RefPoint" >160 20</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_WindowText</prop>
<prop name="BackColor" >_Window</prop>
<prop name="TabOrder" >1</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >160 20</prop>
<prop name="Size" >131 21</prop>
<prop name="Listitems" >
<prop name="Item" >
<prop name="Text" >
<prop name="de_AT.iso88591" >200 r.p.m</prop>
<prop name="en_US.iso88591" >???</prop>
</prop>
<prop name="Select" >False</prop>
</prop>
<prop name="Item" >
<prop name="Text" >
<prop name="de_AT.iso88591" >300 r.p.m</prop>
<prop name="en_US.iso88591" >???</p rop>
</prop>
<prop name="Select" >False</prop>
</prop>
<prop name="Item" >
<prop name="Text" >
<prop name="de_AT.iso88591" >400 r.p.m</prop>
<prop name="en_US.iso88591" >???</prop>
</prop>
<prop name="Select" >False</prop>
</prop>
</prop>
<prop name="Editable" >True</prop>
</properties>
</shape>
Checkbox
<shape shapeType="CHECK_BOX" layerId="0" Name="CHECK_BOX1" >
<properties>
<prop name="serialId" >2</prop>
<prop name="RefPoint" >160 60</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_3DText</prop>
<prop name="BackColor" >_3DFace</prop>
<prop name="TabOrder" >2</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >160 60</prop>
<prop name="Size" >121 81</prop>
<prop name="Listitems" >
<prop name="Item" >
<prop name="Text" >
<prop name="de_AT.iso88591" >Pump 1</prop>
<prop name="en_US.iso88591" >???</prop>
</prop>
<prop name="Select" >False</prop>
</prop>
<prop name="Item" >
<prop name="Text" >
<prop name="de_AT.iso88591" >Pump 2</prop>
<prop name="en_US.iso88591" >???</prop>
</prop>
<prop name="Select" >False</prop>
</prop>
<prop name="Item" >
<prop name="Text" >
<prop name="de_AT.iso88591" >Pump 3</prop>
<prop name="en_US.iso88591" >???</prop>
</prop>
<prop name="Select" >False</prop>
</prop>
</prop>
</properties>
</shape>
DPTreeView
<shape shapeType="DP_TREE" layerId="0" Name="DP_TREE1" >
<properties>
<prop name="serialId" >3</prop>
<prop name="RefPoint" >330 20</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_WindowText</prop>
<prop name="BackColor" >_Window</prop>
<prop name="TabOrder" >3</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >330 20</prop>
<prop name="Size" >171 141</prop>
</properties>
</shape>
DPTypeView
<shape shapeType="DPTYPE" layerId="0" Name="DPTYPE1" >
<properties>
<prop name="serialId" >4</prop>
<prop name="RefPoint" >530 20</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_WindowText</prop>
<prop name="BackColor" >_Window</prop>
<prop name="TabOrder" >4</prop>
<prop name="AcceptDrops" >True</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >530 20</prop>
<prop name="Size" >181 141</prop>
<extended>
<prop type="BOOL" name="showSortIndicator" >True</prop>
<prop type="BOOL" name="showDatatypes" >True</prop>
<prop type="CHAR_STRING" name="dpTypeName" >Analog1</prop>
</extended>
</properties>
</shape>
Embedded Module
<shape shapeType="EMBEDDED_MODULE" layerId="0" Name="EMBEDDED_MODULE1" >
<properties>
<prop name="serialId" >5</prop>
<prop name="RefPoint" >10 200</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_WindowText</prop>
<prop name="BackColor" >_Window</prop>
<prop name="TabOrder" >5</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >10 200</prop>
<prop name="Size" >171 121</prop>
<extended>
<prop type="CHAR_STRING" name="whatsThis" >This is an embedded module.</prop>
<prop type="ENUM" name="frameShape" >3</prop>
</extended>
</properties>
<events>
<script name="Initialize" ><![CDATA[main(bool enter)
{
this.ModuleName = "TestModule";
RootPanelOnModule("about.pnl","Test","TestModule","");
}
]]></script>
</events>
</shape>
Kalender
<shape shapeType="GENERIC" layerId="0" Name="Calendar1" >
<properties>
<prop name="serialId" >6</prop>
<prop name="RefPoint" >200 200</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_3DText</prop>
<prop name="BackColor" >_3DFace</prop>
<prop name="TabOrder" >6</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >200 200</prop>
<prop name="Size" >241 181</prop>
<prop name="ObjectType" >Calendar</prop>
</properties>
</shape>
Kaskade
<shape shapeType="CASCADE_BUTTON" layerId="0" Name="CASCADE_BUTTON1" >
<properties>
<prop name="serialId" >7</prop>
<prop name="RefPoint" >470 200</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_ButtonText</prop>
<prop name="BackColor" >_Button</prop>
<prop name="TabOrder" >7</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >470 200</prop>
<prop name="Size" >121 24</prop>
<prop name="PopupMenu" >
<prop name="PopupItem" >
<prop name="PopupItemId" >3</prop>
<prop name="Text" >
<prop name="de_AT.iso88591" >Engine</prop>
</prop>
<prop name="PopupMenu" >
<prop name="PopupItem" >
<prop name="PopupItemId" >4</prop>
<prop name="Text" >
<prop name="de_AT.iso88591" >rpm</prop>
</prop>
<prop name="PopupMenu" >
<prop name="PopupItem" >
<prop name="PopupItemId" >17</prop>
<prop name="Text" >
<prop name="de_AT.iso88591" >reduce</prop>
</prop>
</prop>
<prop name="PopupItem" >
<prop name="PopupItemId" >8</prop>
<prop name="Text" >
<prop name="de_AT.iso88591" >increase</prop>
</prop>
</prop>
<prop name="PopupItem" >
<prop name="PopupItemId" >9</prop>
<prop name="Text" >
<prop name="de_AT.iso88591" >default</prop>
</prop>
</prop>
</prop>
</prop>
<prop name="PopupItem" >
<prop name="PopupItemId" >10</prop>
<prop name="Text" >
<prop name="de_AT.iso88591" >direction</prop>
</prop>
<prop name="PopupMenu" >
<prop name="PopupItem" >
<prop name="PopupItemId" >11</prop>
<prop name="Text" >
<prop name="de_AT.iso88591" >Item 11</prop>
</prop>
</prop>
<prop name="PopupItem" >
<prop name="PopupItemId" >14</prop>
<prop name="Text" >
<prop name="de_AT.iso88591" >Item 14</prop>
</prop>
</prop>
</prop>
</prop>
<prop name="PopupItem" >
<prop name="PopupItemId" >12</prop>
<prop name="Text" >
<prop name="de_AT.iso88591" >on/off</prop>
</prop>
<prop name="PopupMenu" >
<prop name="PopupItem" >
<prop name="PopupItemId" >15</prop>
<prop name="Text" >
<prop name="de_AT.iso88591" >Item 15</prop>
</prop>
</prop>
</prop>
</prop>
<prop name="PopupItem" >
<prop name="PopupItemId" >13</prop>
<prop name="Text" >
<prop name="de_AT.iso88591" >gear</prop>
</prop>
<prop name="PopupMenu" >
<prop name="PopupItem" >
<prop name="PopupItemId" >16</prop>
<prop name="Text" >
<prop name="de_AT.iso88591" >Item 16</prop>
</prop>
</prop>
</prop>
</prop>
</prop>
</prop>
<prop name="PopupItem" >
<prop name="PopupItemId" >6</prop>
<prop name="Text" >
<prop name="de_AT.iso88591" >Controller</prop>
</prop>
</prop>
</prop>
</properties>
</shape>
LCD-Nummer
<shape shapeType="LCD" layerId="0" Name="LCD1" >
<properties>
<prop name="serialId" >8</prop>
<prop name="RefPoint" >620 200</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_3DText</prop>
<prop name="BackColor" >_3DFace</prop>
<prop name="TabOrder" >8</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >620 200</prop>
<prop name="Size" >101 141</prop>
<extended>
<prop type="INT" name="intValue" >8</prop>
</extended>
</properties>
</shape>
Progress Bar
<shape shapeType="PROGRESS_BAR" layerId="0" Name="PROGRESS_BAR1" >
<properties>
<prop name="serialId" >9</prop>
<prop name="RefPoint" >20 410</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_3DText</prop>
<prop name="BackColor" >_3DFace</prop>
<prop name="TabOrder" >9</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >20 410</prop>
<prop name="Size" >231 21</prop>
<extended>
<prop type="ENUM" name="frameShape" >1</prop>
</extended>
</properties>
<events>
<script name="Initialize" ><![CDATA[main()
{
this.progress(55);
}]]></script>
</events>
</shape>
Radiobox
<shape shapeType="RADIO_BOX" layerId="0" Name="RADIO_BOX1" >
<properties>
<prop name="serialId" >10</prop>
<prop name="RefPoint" >300 410</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_3DText</prop>
<prop name="BackColor" >_3DFace</prop>
<prop name="TabOrder" >10</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >300 410</prop>
<prop name="Size" >91 61</prop>
<prop name="Listitems" >
<prop name="Item" >
<prop name="Text" >
<prop name="de_AT.iso88591" >Manual</prop>
<prop name="en_US.iso88591" >???</prop>
</prop>
<prop name="Select" >True</prop>
</prop>
<prop name="Item" >
<prop name="Text" >
<prop name="de_AT.iso88591" >Automatic</prop>
<prop name="en_US.iso88591" >???</prop>
</prop>
<prop name="Select" >False</prop>
</prop>
<prop name="Item" >
<prop name="Text" >
<prop name="de_AT.iso88591" >Off</prop>
<prop name="en_US.iso88591" >???</prop>
</prop>
<prop name="Select" >False</prop>
</prop>
</prop>
</properties>
</shape>
Schaltfläche (Befehlsknopf)
<shape shapeType="PUSH_BUTTON" layerId="0" Name="PUSH_BUTTON1" >
<properties>
<prop name="serialId" >11</prop>
<prop name="RefPoint" >420 410</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_ButtonText</prop>
<prop name="BackColor" >_Button</prop>
<prop name="TabOrder" >11</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >420 410</prop>
<prop name="Size" >111 51</prop>
<prop name="Text" >
<prop name="de_AT.iso88591" >Open</prop>
<prop name="en_US.iso88591" >PUSH_BUTTON1</prop>
</prop>
</properties>
</shape>
Registerkarte
<shape shapeType="TAB" layerId="0" Name="TAB1" >
<properties>
<prop name="serialId" >12</prop>
<prop name="RefPoint" >490 200</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_3DText</prop>
<prop name="BackColor" >_3DFace</prop>
<prop name="TabOrder" >12</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >490 200</prop>
<prop name="Size" >261 301</prop>
<prop name="Page" >
<prop name="Name" >Normal</prop>
<prop name="Label" >
<prop name="de_AT.iso88591" >Normal</prop>
<prop name="en_US.iso88591" >#1</prop>
</prop>
<prop name="Panel" >vision/aes/AESDistInfo.pnl</prop>
</prop>
<prop name="Page" >
<prop name="Name" >Extended</prop>
<prop name="Label" >
<prop name="de_AT.iso88591" >Extended</prop>
<prop name="en_US.iso88591" >Normal</prop>
</prop>
<prop name="Panel" >lcd.pnl</prop>
</prop>
</properties>
</shape>
Slider (Schieberegler)
<shape shapeType="SLIDER" layerId="0" Name="SLIDER1" >
<properties>
<prop name="serialId" >13</prop>
<prop name="RefPoint" >40 470</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_3DText</prop>
<prop name="BackColor" >_3DFace</prop>
<prop name="TabOrder" >13</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >40 470</prop>
<prop name="Size" >21 161</prop>
<extended>
<prop type="ENUM" name="tickPosition" >3</prop>
</extended>
</properties>
</shape>
Spin-Button
Spin-Buttons ermöglichen die Auswahl von nur einer Option aus einer Reihe vordefinierter Alternativen, angeordnet in einer logischer Reihenfolge. Zusätzlich zu den bereits beschriebenen Eigenschaften enthält das Spin-Button:
MinimumID - minimaler möglicher Wert im Spin-Button (Minimum = 0)
MaximumID - maximaler möglicher Wert im Spin-Button (Maximum = 1000)
IncrAccelerator - Schrittweite im Spin-Button (ganze Zahl in einem Bereich von 1-1000)
Position - Erste Ziffer/Zahl im Spin-Button
<shape shapeType="SPIN_BUTTON" layerId="0" Name="SPIN_BUTTON1" >
<properties>
<prop name="serialId" >14</prop>
<prop name="RefPoint" >120 490</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_WindowText</prop>
<prop name="BackColor" >_Window</prop>
<prop name="TabOrder" >14</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >120 490</prop>
<prop name="Size" >51 31</prop>
<prop name="MinimumID" >0</prop>
<prop name="MaximumID" >100</prop>
<prop name="IncrAccelerator" >1</prop>
<prop name="Position" >0</prop>
</properties>
</shape>
Tabelle
<shape shapeType="TABLE" layerId="0" Name="TABLE1" >
<properties>
<prop name="serialId" >15</prop>
<prop name="RefPoint" >210 490</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_WindowText</prop>
<prop name="BackColor" >_Window</prop>
<prop name="TabOrder" >15</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >210 490</prop>
<prop name="Size" >131 101</prop>
<prop name="ShowColumnHeader" >True</prop>
<prop name="ShowRowHeader" >True</prop>
<prop name="SortOnClick" >True</prop>
<prop name="RowHeight" >14</prop>
<prop name="RowHeaderWidth" >10</prop>
<prop name="GridType" >Cross</prop>
<prop name="VScrollBarMode" >Auto</prop>
<prop name="HScrollBarMode" >Auto</prop>
<prop name="Column" >
<prop name="Name" >Datum</prop>
<prop name="Width" >60</prop>
<prop name="Visible" >True</prop>
<prop name="Editable" >False</prop>
<prop name="Label" >
<prop name="de_AT.iso88591" >Datum</prop>
<prop name="en_US.iso88591" >#1</prop>
</prop>
<prop name="ColumnFormat" >[0s,,,ALIGNMENT_BEGINNING]</prop>
</prop>
<prop name="Column" >
<prop name="Name" >Zeichen</prop>
<prop name="Width" >60</prop>
<prop name="Visible" >True</prop>
<prop name="Editable" >False</prop>
<prop name="Label" >
<prop name="de_AT.iso88591" >Zeichen</prop>
<prop name="en_US.iso88591" >Datum</prop>
</prop>
<prop name="ColumnFormat" >[0s,,,ALIGNMENT_BEGINNING]</prop>
</prop>
</properties>
</shape>
Textfeld
Der Text und das Textfeld enthalten die Eigenschaften:
Editable - definiert, ob eine Bearbeitung des Textes möglich ist
TextFormat - die Angaben definieren das Textformat in der folgenden Reihenfolge: [Länge+Datentyp, Leer wenn Null?, Führende Nullen?, Ausrichtung, Exponentiell?]
<shape shapeType="TEXT_FIELD" layerId="0" Name="TEXT_FIELD1" >
<properties>
<prop name="serialId" >16</prop>
<prop name="RefPoint" >370 520</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_WindowText</prop>
<prop name="BackColor" >_Window</prop>
<prop name="TabOrder" >16</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >370 520</prop>
<prop name="Size" >151 21</prop>
<prop name="Editable" >True</prop>
<prop name="TextFormat" >[0s,,,ALIGNMENT_BEGINNING]</prop>
</properties>
</shape>
Mehrzeiliger Text
<shape shapeType="TEXT_EDIT" layerId="0" Name="TEXT_EDIT1" >
<properties>
<prop name="serialId" >17</prop>
<prop name="RefPoint" >550 530</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_WindowText</prop>
<prop name="BackColor" >_Window</prop>
<prop name="TabOrder" >17</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >550 530</prop>
<prop name="Size" >191 61</prop>
</properties>
</shape>
Thumb Wheel
<shape shapeType="THUMB_WHEEL" layerId="0" Name="THUMB_WHEEL1" >
<properties>
<prop name="serialId" >18</prop>
<prop name="RefPoint" >20 660</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_3DText</prop>
<prop name="BackColor" >_3DFace</prop>
<prop name="TabOrder" >18</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >20 660</prop>
<prop name="Size" >101 51</prop>
</properties>
</shape>
Trend
<shape shapeType="TREND" layerId="0" Name="TREND1" >
<properties>
<prop name="serialId" >19</prop>
<prop name="RefPoint" >160 610</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_WindowText</prop>
<prop name="BackColor" >_Window</prop>
<prop name="TabOrder" >19</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >160 610</prop>
<prop name="Size" >201 131</prop>
<prop name="TimeTrend" >True</prop>
<prop name="Logarithmic" >False</prop>
<prop name="ShowToolBox" >True</prop>
<prop name="ShowLegend" >True</prop>
<prop name="Vertical" >False</prop>
<prop name="ShowGrid" >False</prop>
<prop name="ShowBackgroundGrid" >True</prop>
<prop name="TimeRange" >7200</prop>
<prop name="ScrollPercent" >90</prop>
<prop name="LegendFont" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="ScaleFont" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="TrendArea" >
<prop type="ValueOverTime" name="TrendCurve" >
<prop name="Name" >#1_1</prop>
<prop name="DataSource" >dist_2:ExampleDP_Arg1.</prop>
<prop name="PointType" >0</prop>
<prop name="Type" >2</prop>
<prop name="Filled" >0</prop>
<prop name="RefValue" >0</prop>
<prop name="LegendShowDate" >False</prop>
<prop name="LegendShowMilli" >False</prop>
<prop name="LegendName" >
<prop name="de_AT.iso88591" >dist_2:ExampleDP_Arg1.</prop>
<prop name="en_US.iso88591" >dist_2:ExampleDP_Arg1.</prop>
</prop>
<prop name="VisibleInLegend" >True</prop>
<prop name="AutoScale" >True</prop>
<prop name="Min" >0</prop>
<prop name="Max" >100</prop>
<prop name="LineType" >[solid,oneColor,JoinMiter,CapButt,0]</prop>
<prop name="Color" >Red</prop>
<prop name="GridVisible" >False</prop>
<prop name="GridAboveCount" >0</prop>
<prop name="GridBelowCount" >0</prop>
<prop name="GridAboveDistance" >0</prop>
<prop name="GridBelowDistance" >0</prop>
<prop name="GridRefValue" >0</prop>
<CurveScale>
<prop name="Format1" >%g</prop>
<prop name="Format2" >%x</prop>
<prop name="AutoFormat" >True</prop>
<prop name="Visible" >True</prop>
<prop name="Position" >Left</prop>
</CurveScale>
</prop>
<prop name="TimeScaleOneLine" >True</prop>
<prop name="TimeScale" >
<prop name="Format1" >%H:%M:%S</prop>
<prop name="Format2" >%x</prop>
<prop name="AutoFormat" >True</prop>
<prop name="Visible" >True</prop>
<prop name="Position" >Bottom</prop>
</prop>
</prop>
</properties>
</shape>
Tree Widget
<shape shapeType="TREE" layerId="0" Name="TREE1" >
<properties>
<prop name="serialId" >20</prop>
<prop name="RefPoint" >370 610</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_WindowText</prop>
<prop name="BackColor" >_Window</prop>
<prop name="TabOrder" >20</prop>
<prop name="BorderStyle" >Normal</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >370 610</prop>
<prop name="Size" >241 101</prop>
</properties>
<events>
<script name="Initialize" ><![CDATA[main()
{
//Add three columns
TREE1.addColumn("NAME");
TREE1.addColumn("SURNAME");
TREE1.addColumn("ADDRESS");
TREE1.appendItem("","WHOLE_NAME","WHOLE_NAME");
//Add the first item
TREE1.appendItem("WHOLE_NAME","MARIA","MARIA");
//Add the second item
}
]]></script>
</events>
</shape>
Uhr
<shape shapeType="CLOCK" layerId="0" Name="CLOCK1" >
<properties>
<prop name="serialId" >21</prop>
<prop name="RefPoint" >720 630</prop>
<prop name="Enable" >True</prop>
<prop name="Visible" >True</prop>
<prop name="ForeColor" >_WindowText</prop>
<prop name="BackColor" >_Window</prop>
<prop name="TabOrder" >21</prop>
<prop name="BorderStyle" >3D</prop>
<prop name="Font" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="Location" >720 630</prop>
<prop name="Size" >101 31</prop>
<prop name="Digital" >True</prop>
<prop name="ShowDate" >True</prop>
<prop name="ShowTime" >True</prop>
<prop name="SingleLine" >False</prop>
<prop name="TimeFirst" >True</prop>
<prop name="DateFormat" >%x</prop>
<prop name="TimeFormat" >%X</prop>
<prop name="DateFont" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
<prop name="TimeFont" >
<prop name="de_AT.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
<prop name="en_US.iso88591" >MS Shell Dlg 2,-1,11,5,50,0,0,0,0,0</prop>
</prop>
</properties>
</shape>