




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 老旧房屋维修改造施工方案
- 2024-2025学年下学期高一语文第五单元A卷
- 修缮工程中的防水技术方案
- 乡村产业与城市融合发展路径
- 数字孪生技术与智能制造的策略及实施路径
- 流动式起重机起重作业方案
- 数字化供应链管理的策略及实施方案
- 中外民俗知到课后答案智慧树章节测试答案2025年春哈尔滨商业大学
- 中西人论与文学知到课后答案智慧树章节测试答案2025年春浙江大学
- 2025年肾上腺皮质激素类药项目合作计划书
- 中学生预防性侵主题班会
- 不良资产项目律师法律尽调报告(模板)
- 2023年人力资源和社会保障部公开招聘工作人员笔试参考题库(共500题)答案详解版
- 高级技校电气自动化设备安装与维修教学计划
- 《长征之战役》课件
- 心电监护操作评分标准
- 保健品概念及分类
- 水土保持监理实施细则
- 自体血液回收机使用(精京3000P型)课件
- 非法捕捞水产品罪
- 中铝中州矿业有限公司禹州市方山铝土矿矿山地质环境保护和土地复垦方案
评论
0/150
提交评论