




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、(中)Aras Developing Solutons - Unit 2 - Reviewing AML.docx翻译者麻凤涛目标Ø 定义AML语法Ø v探讨AML标签Ø vAML结构回顾Ø v建筑AML查询Ø 测试纳什Ø v审查建立在行动Ø v添加项与AMLØ v编辑项目与AMLØ v删除项目与AML定义AMLv“Aras的创新都是一项“v每一个项目是利用自适应标记语言(AML)描述AML的选择允许项目:AML Allows Item:Retrieval(检索)复杂查询ü complex qu
2、eriesAdditions(补充)多级项目ü multi-level itemsModifications(修改)Purging(清除)(一个版本)-(of a version)Deletions(缺失)Locking/Unlocking(锁定/解锁)对AML的结构探讨AML标签顶级标签(Top Level Tag)-<AML> 项目标签(Item Tag)-<Item > 关系标签(Relationships Tag)-<Relationships > . . . </Relationships> </Item> <
3、;/AML>用AML工作室构建AML查询初级item标签属性(主要项目标签属性)id 项目的唯一标识符type 该项目类型名称action 行为(方法)应用于该项<Item type="Part"id=32 character identifieraction="get" />项目属性(Item Property Tags)嵌套项目标签属性名是标记名称<Item type="Part" action="get"><item_number>8120-1378</item
4、_number></Item>财产属性(Property Attributes)使用条件:<Item type="Part" action="get"><cost condition="gt">35</cost></Item>关系标签(Relationships Tag)有关物品的“容器”没有属性嵌套类型是指关系项<Item type="Part" action="get"><item_number>C47
5、23-69096</item_number><Relationships><Item type="Part BOM" action="get"></Item></Relationships></Item>相关ID标签<Item type="Part" action="get"><item_number>C4723-69096</item_number><Relationships><Item
6、 type="Part BOM" action="get"><related_id><Item type="Part" action ="get" ></Item></related_id></Item></Relationships></Item>检索相关项目<Item type="Part" action="get"><Relationships><It
7、em type="Part BOM" action="get"><related_id><Item type="Part" action ="get" ><item_number> C4704-60117 </item_number></Item></related_id></Item></Relationships></Item>关系项目搜索搜索项目类型属性使用逻辑和/或运算符<Item typ
8、e="Part" action="get" ><or><and><cost condition="gt">35</cost> <weight>10</weight> <make_buy>Make</make_buy></and><and><cost condition="lt">100</cost> <weight>15</weight> &l
9、t;make_buy>Buy</make_buy></and></or></Item>另外的项目属性where 用来代替搜索的id属性select 选择要返回的属性(仅获取)orderBy 返回结果排序page 结果集的页码pagesize 返回页的大小maxRecords 返回结果集的大小levels- 项目级别“深度”返回version 允许版本控制(仅更新)使用附加属性<AML><Item type="Part" action="get" select="item_n
10、umber,name"orderBy="item_number" where="part.is_released=0"></Item></AML>嵌套属性搜索<Item type="Part" action="get" ><item_number>C5316-60000</item_number><Relationships><Item type="Part BOM" action="get&
11、quot; select="related_id(item_number, name)"></Item></Relationships></Item>审查内置行为Get(获取) -检索项目add(添加)创建一个新项目update(更新)更新锁定项目purge(清除)-删除项目版本delete(删除)删除项目(和所有版本)edit(编辑)锁定,更新和解锁项目create(创建) 添加项目,如果它不存在merge(合并)编辑项目,如果它存在,否则添加lock/unlock(锁定/解锁)锁定或解锁一个项目添加新项目<AML>&
12、lt;Item type="Part" action="add"> <item_number>2134-9099</item_number><cost>12</cost> <name>Paper Sensor</name><description>Front feed sensor</description><make_buy>Buy</make_buy> <classification>/Part/Component
13、</classification></Item></AML>添加多个项目<AML><Item type="Part" action="add"><item_number>1121-9011</item_number><name>Front Roller</name></Item><Item type="Part" action="add"><item_number>1121
14、-9012</item_number><name>Rear Roller</name></Item></AML>编辑单个项目提供id或属性以作用于一个项目<AML><Item type="Part" action="edit" where="part.item_number= '2134-9099'"><cost>22</cost></Item> </AML>编辑多个项目提供返回多个项的W
15、HERE子句<AML><Item type="Part" action="edit" where="part.classification='/Part/Assembly'" ><make_buy>Make</make_buy></Item></AML>添加相关的项目<Item type="Part" action="edit" where="item_number='C5316-60
16、108'"><Relationships> <Item type="Part BOM" action="add"><related_id> <Item type="Part" action="add"><item_number>1121-9011</item_number></Item></related_id></Item></Relationships></Ite
17、m> 删除项目<Item type="Part" action="delete" where="part.state='Preliminary'"></Item>AML的SOAP消息<SOAP-ENV:Envelope xmlns:SOAP-ENV="/soap/envelope/"> <SOAP-ENV:Body> <ApplyAML> <AML> <Item ty
18、pe="Work Order" action="get" /></AML> </ApplyAML></SOAP-ENV:Body></SOAP-ENV:Envelope>AML的SOAP响应<SOAP-ENV:Envelope xmlns:SOAP-ENV="/soap/envelope/"><SOAP-ENV:Body><Result> <Item type="Work Order" typeId="FFCB14F8E0B64FBAB54BA9EF136CED23" id="248E0A0E1035482FB86DB94E32CB2782"><permission_id keyed_name="Work Order" type="Permission">1C4130D0C13
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 【正版授权】 ISO 24204:2025 EN Oil and gas industries including lower carbon energy - Bulk material for offshore projects - Design for architectural supports
- GB/T 45211.8-2025小麦抗病虫性评价技术规程第8部分:吸浆虫
- 【正版授权】 IEC 60601-2-16:2025 EN-FR Medical electrical equipment - Part 2-16: Particular requirements for the basic safety and essential performance of haemodialysis,haemodiafiltrati
- 【正版授权】 IEC 60364-5-53:2019/AMD2:2024 EN-FR Amendment 2 - Low-voltage electrical installations - Part 5-53: Selection and erection of electrical equipment - Devices for protection f
- 【正版授权】 IEC 63310:2025 EN Functional performance criteria for AAL robots used in connected home environment
- 树木买卖合同协议
- 人民医院安保服务采购合同
- 委托书合同范文(32篇)
- 场地租赁补充协议
- 吊车机械租赁合同
- 年兽的故事之The Legend of Nian
- 初中美术教学策略与方法
- 2024年高考二轮复习 微主题热练5 新情境下陌生反应化学(或离子)方程式的书写 作业
- 农田春耕安全生产培训
- 大象版科学小学二年级下册教学课件(全套)
- 再生棉项目融资计划书
- 甲流护理查房病例
- 人教版小学劳动教育三年级下册第二章劳动项目5《蒸蛋羹》优质课教学设计
- 概率论与数理统计智慧树知到课后章节答案2023年下四川师范大学
- 新生儿败血症护理查房查房
- 中级会计实务所得税课件
评论
0/150
提交评论