![SAS Global Forum Workshop Presentation_第1頁](http://file4.renrendoc.com/view/c2a139e6d275e0b9bf7e49a33d9fbfc9/c2a139e6d275e0b9bf7e49a33d9fbfc91.gif)
![SAS Global Forum Workshop Presentation_第2頁](http://file4.renrendoc.com/view/c2a139e6d275e0b9bf7e49a33d9fbfc9/c2a139e6d275e0b9bf7e49a33d9fbfc92.gif)
![SAS Global Forum Workshop Presentation_第3頁](http://file4.renrendoc.com/view/c2a139e6d275e0b9bf7e49a33d9fbfc9/c2a139e6d275e0b9bf7e49a33d9fbfc93.gif)
![SAS Global Forum Workshop Presentation_第4頁](http://file4.renrendoc.com/view/c2a139e6d275e0b9bf7e49a33d9fbfc9/c2a139e6d275e0b9bf7e49a33d9fbfc94.gif)
![SAS Global Forum Workshop Presentation_第5頁](http://file4.renrendoc.com/view/c2a139e6d275e0b9bf7e49a33d9fbfc9/c2a139e6d275e0b9bf7e49a33d9fbfc95.gif)
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡介
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等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025消防器材銷售合同范本
- 農(nóng)戶水稻收購合同范本
- 人員包干合同范例
- 買方鋼筋加工合同范例
- 優(yōu)惠打折合同范本
- 中途入伙合同范本
- 兒子買房合同代簽合同范本
- 親人房子過戶合同范例
- 代理倉庫發(fā)貨合同范例
- 企業(yè)用工合同范例
- 《教育強(qiáng)國建設(shè)規(guī)劃綱要(2024-2035年)》全文
- 山東省濱州市2024-2025學(xué)年高二上學(xué)期期末地理試題( 含答案)
- 2025年河南洛陽市孟津區(qū)引進(jìn)研究生學(xué)歷人才50人歷年高頻重點(diǎn)提升(共500題)附帶答案詳解
- 2025年度軍人軍事秘密保護(hù)保密協(xié)議與信息安全風(fēng)險(xiǎn)評(píng)估合同3篇
- 蛋雞生產(chǎn)飼養(yǎng)養(yǎng)殖培訓(xùn)課件
- 數(shù)字化轉(zhuǎn)型中的職業(yè)能力重構(gòu)
- 運(yùn)用PDCA降低住院患者跌倒-墜床發(fā)生率
- 2025屆高中數(shù)學(xué)一輪復(fù)習(xí)專練:橢圓(含解析)
- 立春氣象與生活影響模板
- 中國服裝零售行業(yè)發(fā)展環(huán)境、市場運(yùn)行格局及前景研究報(bào)告-智研咨詢(2025版)
- 汽車車身密封條設(shè)計(jì)指南
評(píng)論
0/150
提交評(píng)論