文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 高等教育 > 理学 > 第12天Microsoft Robotics Developer Studio中文教程--DSS with VSE [III]
侵权投诉

第12天Microsoft Robotics Developer Studio中文教程--DSS with VSE [III]

Microsoft Robotics Developer Studio中文教程

[Robotics Studio] DSS with VSE[III] -- Day12 编辑整理<杜毓聪 duyucong@gmail.com doc.guandang.net;居然一個 DSS with VSE要寫到 Part III?有點混的嫌疑...但其實我是佛心來著,如果一口氣寫太多,大家或許會消化不良哩...如果大家有問題請在回應寫出來,如果有多一點提醒,我也可以把寫不好的,或是寫錯的地方做一些修正啊.那昨天的程式還可以加上甚麼?你不覺得一次產生一個方塊不夠過癮?我好想要那個程式一次生好多個,那個立方塊就像$$一樣一直掉下來不是很好嗎 (想太多了吧!)那我們就再加上一個 AddBoxes這樣的 DSSP來玩吧首先加上資料宣告 (你應該知道要放在 VSE_ExampleTypes.cs當中吧): view plaincopy to clipboardprint? 1. 2. 3. 4. 5. 6. 7. 8. 9.[DataContract] public class AddBoxesInfo{[DataMember] public AddBoxInfo info{ get; set;}[DataMember] public int count{ get; set;}}

[DataContract] public class AddBoxesInfo{[DataMember] public AddBoxInfo info{ get; set;}[DataMember] public int count{ get; set;}}然後是 DSSP的宣告以及修改,如下: view plaincopy to clipboardprint? 1. 2. 3. 4. 5.///<summary>/// VSE_Example main operations port///</summary>[ServicePort] public class VSE_ExampleOperations: PortSet<DsspDefaultLookup, DsspDefaultDrop, Get, Subscribe, AddABox, AddBoxes> 6.{ 7.} 8. 9.[DisplayName("Add boxes")] 10.[Description("Add boxes into VSE")]

第12天Microsoft Robotics Developer Studio中文教程--DSS with VSE [III]

第1页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email