示例:图形画面 XML 文件

以下 XML 文件示例所示为包含一些对象的
FactoryTalk View ME
图形画面,其中包括一个文本对象、一个数字显示对象、一个数字输入启用对象和一个包含两个矩形(其中一个为动画形式)的组。该文件中并未显示这些对象的所有可能属性。导入文件时,不会修改未列出的任何对象或属性。
可为一个元素指定多个属性,并且可包含多个元素。
<?xml version="1.0" encoding="UTF-8"?> <gfx xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Gfx-ME1.xsd"> <displaySettings displayType="replace" backColor="white" width="640" height="480"/> <text name="Text1" height="16" width="87" left="69" top="42" caption="Pump House 1"/> <numericDisplay name="NumericDisplay1" height="44" width="104" left="234" top="150" borderStyle="raisedInset"> <connections> <connection name="Value" expression="{[clx1]Count_Up[0]}"/> </connections> </numericDisplay> <group name="Group1" wallpaper="false"> <rectangle name="Polygon1" height="35" width="53" left="378" top="40" visible="true"/> <rectangle name="Polygon2" height="35" width="56" left="428" top="85 visible="true"/> <animations> <animateVisibility expression="system\BlinkFast" expressionTrueState="visible"/> </animations> </group> <numericInputEnable name="NumericInputEnable1" height="55" width="80" left="57" top="142" keyAssignment="F1"> <caption fontFamily="Arial" caption="Stop"/> <connections> <connection name="Value" expression="{[clx1]n7[0]}"/> </connections> </numericInputEnable> </gfx>
提供反馈
对本文档有问题或反馈吗? 请在这里提交您的反馈
Normal