




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Separating the Interface from the Engine: Creating Custom Add-in Tasks for SAS Enterprise GuidePeter EberhardtFernwood Consulting Group Inc.AgendaIntroductionDemoRequirementsGetting StartedInterfacesExamplesWrap-upIntroductionHistory of SAS and open environmentWhat is a custom add-inHow does an add-
2、in compare to a SPIntroductionPre v8Multi-PlatformStand aloneIntroductionv8IOMOpened SASIntroductionv9StudiosDI, Cube StudioJava clientIntroductionEnterprise Guide 4.1.NET applicationIntegration into MS Office“SAS is too hard to use”Drag-and-Drop InterfaceProject orientedSAS Tasks encapsulate underl
3、ying PROC syntaxProcess flows link Tasks and DataIntroductionSAS EnterpriseGuideSASon WindowsSASon MainframeSASon UNIXCodeResultsIntroductionAn Enterprise Guide project can be thought of as a basket, or container:HealthcareTo which you assign a nameIn which you place data source(s)Within which you d
4、efine tasksIntroductionInterfaces Part 1EG Custom Add-in TasksFriendly front-end to a existing SAS programmesAccess SAS and non-SAS resourcesPackage SAS PROCS not part of EGIntroductionInterfacesSAS Stored ProcessSAS programme that is centrally managedTwo componentsMetadataprogrammeRuns on a serverS
5、imple user interfaceAgendaIntroductionDemoRequirementsGetting StartedInterfacesExamplesWrap-upAgendaIntroductionDemoRequirementsGetting StartedInterfacesExamplesWrap-upRequirementsFundamentalsVisual Studio.NET Framework v1.1EG 4.1A problem or solutionRequirementsImplement InterfacesMain Entry: inter
6、facePronunciation: in-t&r-fAs Function: noun 1 : a surface forming a common boundary of two bodies, spaces, or phases 2 a : the place at which independent and often unrelated systems meet and act on or communicate with each other b : the means by which interaction or communication is achieved at an
7、interface - interfacial /in-t&r-fA-sh&l/ adjective Main Entry: interactionPronunciation: in-t&r-ak-sh&n Function: noun : mutual or reciprocal action or influence - interactional /-shn&l, -sh&-n&l/ adjective RequirementsInterfaces Part 2Separates the name of a method from its implementationContract b
8、etween your programme and SASAgendaIntroductionDemoRequirementsGetting StartedInterfacesExamplesWrap-upGetting StartedProject templatesAvailable from the SAS siteAdds a new project type to Visual StudioCreates a project with the required interfacesGetting StartedRules to Remember in Visual StudioThe
9、 project name and directoryWhen you create the new projectRename the default files and classesCustomTask1, CustomTaskForm1Change the properties of the add-in referenceChange the strings in ISASTaskDescriptionSearch for PLACEHOLDERGetting StartedDemoDemo creating a project1New projectDemo creating a
10、project12Project TypeSAS EG 4 AddIn (from SAS template)Project Name and Location3Demo creating a project1Default File Names need to be changedDemo creating a project1Names in the project need to be changedDemo creating a project1ReferencesLocal Copy property set to FALSE2Demo creating a project1Proj
11、ect PropertiesDemo creating a project1Configuration Propertiesset Debug Mode to ProgramNOTE: click Apply after changing the Debug Mode to un-grey the Start Program propertyDemo creating a project1Configuration PropertiesNavigate to your EG executableDemo creating a project1Change the descriptions in
12、 the source codeDemo creating a project1Strings are changedDemo creating a project1Build the projectDemo creating a project1Success!AgendaIntroductionDemoRequirementsGetting StartedInterfacesExamplesWrap-upInterfacesSeparates the name of a method from its implementationContract between your programm
13、e and SASInterfacesYou agree you will implementISASTaskAddinISASTaskDescriptionISASTaskYou can implement if you wantISASTaskSubmitSinkISASTaskDataSinkInterfacesISASTaskAddinThis connects the application (i.e. Enterprise Guide) to your Add-in. It provides basic information back to EG.EG will not reco
14、gnize your add-in if you do not implement this interface.The template automatically creates all the members of the interface for you.InterfacesISASTaskDescriptionThis interface is used by the application to determine basic task information which is not dependent on the task state. ISASTaskDescriptio
15、n2is an optional extension of this interface with a few additional properties for advanced features.Implement one or the otherInterfaces - ISASTaskPublic PropertiesLabelThe label of an instance of the task as it appears in the project.Both a “property set” and a “property get” have to be implemented
16、OutputDataCountThe number of output datasets the task expects to create.Only a “property get” has to be implementedInterfacesISASTaskThis interface is used by the application to control the runtime state of the add-inInterfacesISASTask2Extends ISASTask with additional properties and methodsImplement
17、 SASTask OR SASTask2InterfacesPropertiesISASTaskAddinISASTaskDescriptionISASTaskYou can implement if you wantISASTaskSubmitSinkISASTaskDataSinkInterfacesISASTaskSubmitSink Supplies notifications to the add-in that the input data has changed, or that it needs to take some action regarding output data
18、 that it intends to create. InterfacesISASTaskDataSink Supplies notifications to the add-in that the input data has changed, or that it needs to take some action regarding output data that it intends to create. InterfacesSAS agrees to implementISASTaskConsumerISASTaskDataISASTaskDataAccessorISASTask
19、DataDataColumnSAS agrees it might implementISASTaskSubmitISASTaskUtilitiesInterfacesISASTaskConsumerProvides information about what the application supports and access to other supported interfaces. Also provides access to options specific to the particular instance of the add-in.The implementation
20、of this interface by a host application is required, although not all properties and methods are required to be supported. InterfacesISASTaskDataThese interfaces allow the task to obtain information about the active data. Different host applications might not be able to provide values for some of th
21、ese methods.InterfacesISASTaskDataAccessorThese methods allow the task to access the data values in a specific data object.InterfacesISASTaskDataColumnProvides information about a single column in a data sourceInterfacesSAS agrees to implementISASTaskConsumerISASTaskDataISASTaskDataAccessorISASTaskD
22、ataDataColumnSAS agrees it might implementISASTaskSubmitISASTaskUtilitiesInterfacesISASTaskSubmitThis interfaces allow the task to submit SAS code from within the task.InterfacesISASTaskUtilitiesThis interfaces allow the task to surface some utility functionality to the task.InterfacesExamplesRecapDownload the Templates from SASCreate the initial projectChange the default name
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 液压系统在滑雪场设备中的应用考核试卷
- 纸质汽车内饰设计趋势与市场分析考核试卷
- 危险品仓储事故应急预案修订考核试卷
- 期货交易技巧分享考核试卷
- 电力设备供应链管理考核试卷
- 纺织品企业人力资源规划考核试卷
- 纸品工业实践考核试卷
- 纤维素纤维在生物医学工程中的应用考核试卷
- 日照航海工程职业学院《时尚摄影赏析》2023-2024学年第二学期期末试卷
- 泉州信息工程学院《生物化学与分子生物学(含遗传学)》2023-2024学年第二学期期末试卷
- 中药养护记录表
- 实验室安全自查表样表
- 外卖食物中毒起诉书
- 《机械设计基础》复习备考题库(含答案)
- 安全生产责任书安全制度
- xk5036数控立式铣床总体及横向进给传动机构设计论文大学本科毕业论文
- 小学五六年级青春期女生健康心理讲座PPT
- 基于模型预测控制的无人驾驶车辆轨迹跟踪控制算法研究共3篇
- 空冷岛空冷机组管束更换施工方案
- 2023年大学生数学竞赛天津市试题参考及答案
- JJG 644-2003振动位移传感器
评论
0/150
提交评论