版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 腎內(nèi)分泌科護理工作總結
- 2025年全球及中國醫(yī)用全自動凝血分析儀行業(yè)頭部企業(yè)市場占有率及排名調(diào)研報告
- 2025年全球及中國企業(yè)級機械硬盤和固態(tài)硬盤行業(yè)頭部企業(yè)市場占有率及排名調(diào)研報告
- 2025-2030全球3D晶體管行業(yè)調(diào)研及趨勢分析報告
- 2025-2030全球立式不銹鋼離心泵行業(yè)調(diào)研及趨勢分析報告
- 2025-2030全球汽車電池試驗箱行業(yè)調(diào)研及趨勢分析報告
- 2025年全球及中國游戲人工智能NPC行業(yè)頭部企業(yè)市場占有率及排名調(diào)研報告
- 2025-2030全球自動藥敏分析儀行業(yè)調(diào)研及趨勢分析報告
- 2025年全球及中國無線藍牙肉類溫度計行業(yè)頭部企業(yè)市場占有率及排名調(diào)研報告
- 2025年全球及中國固定橋式坐標測量機行業(yè)頭部企業(yè)市場占有率及排名調(diào)研報告
- 2025-2030年中國清真食品行業(yè)運行狀況及投資發(fā)展前景預測報告
- 廣東省茂名市電白區(qū)2024-2025學年七年級上學期期末質量監(jiān)測生物學試卷(含答案)
- 《教育強國建設規(guī)劃綱要(2024-2035年)》全文
- 山東省濱州市2024-2025學年高二上學期期末地理試題( 含答案)
- 2025年河南洛陽市孟津區(qū)引進研究生學歷人才50人歷年高頻重點提升(共500題)附帶答案詳解
- 2025年度軍人軍事秘密保護保密協(xié)議與信息安全風險評估合同3篇
- 數(shù)字化轉型中的職業(yè)能力重構
- 運用PDCA降低住院患者跌倒-墜床發(fā)生率
- 2025屆高中數(shù)學一輪復習專練:橢圓(含解析)
- 立春氣象與生活影響模板
- 中國服裝零售行業(yè)發(fā)展環(huán)境、市場運行格局及前景研究報告-智研咨詢(2025版)
評論
0/150
提交評論