1 / 28

Extend your Reach

Extend your Reach. Developing on PI ICE. Jason Banfelder – Kesler Engineering Brian Bostwick - Omicron Consulting. Overview. PI ICE Review Architecture and Theory of operation Introduce the ICE Tookit Create a presentation web part Build a custom business object. PI ICE Pages.

paytah
Télécharger la présentation

Extend your Reach

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Extend your Reach Developing on PI ICE Jason Banfelder – Kesler Engineering Brian Bostwick - Omicron Consulting DevNet Unplugged 2002 “Express Your Innovations”

  2. Overview • PI ICE Review • Architecture and Theory of operation • Introduce the ICE Tookit • Create a presentation web part • Build a custom business object DevNet Unplugged 2002 “Express Your Innovations”

  3. PI ICE Pages An assembly of HTML Web Parts DevNet Unplugged 2002 “Express Your Innovations”

  4. What is a part? • Content for presentation • HTML text or a URL • XML/XSL that produces HTML • Script that creates HTML • Layout, size, position, minimized, visibility • Links for help, customization, drill to detail DevNet Unplugged 2002 “Express Your Innovations”

  5. Part Personalization • Global Properties; content and help link • Personalized Properties; size and position • ‘Part Storage’ for tags and time settings The Publish function will make all personalization available to others. DevNet Unplugged 2002 “Express Your Innovations”

  6. Assembling a PI ICE page DevNet Unplugged 2002 “Express Your Innovations”

  7. Client Side Events Browser ICE Display Tag Search PI Trend Component Interactivity DDSC Time Range Snapshot DevNet Unplugged 2002 “Express Your Innovations”

  8. Web Part events in javascript • Register to receive an event …. DDSC.RegisterForEvent( "onTimeChange", onTime); • Broadcast an event to all parts registered …. DDSC.RaiseEvent( “onTimeChange”, strNewTimes); DevNet Unplugged 2002 “Express Your Innovations”

  9. Browser ICE Display Web Part Web Part Web Part Web Part BO BO BO PI ICE Data Access Internet Information Server(IIS) PI Web Service SOAP HTTP DevNet Unplugged 2002 “Express Your Innovations”

  10. BO BO BO PI WebServices Detail Browser Internet Information Server(IIS) ICE Display Web Part Query Object PI Web Service SOAP Client PI Data Object DevNet Unplugged 2002 “Express Your Innovations”

  11. What is a method call Set rntData = myobj.myfunction ( param1, param1,…) The Data returned Object called upon Method invoked 1 to n parameters DevNet Unplugged 2002 “Express Your Innovations”

  12. Local function call Object: BOEvents.cBOEvents Parameter1: localhost Parameter2: SINUSOID Parameter3: *-1m Parameter4: * DevNet Unplugged 2002 “Express Your Innovations”

  13. ICE function call in XML <QuerySpec Name=“GetPITagData"> - <Properties> <Property Descriptor="30">BOEvents.cBOEvents</Property> <Property Descriptor="13">localhost</Property> <Property Descriptor="14">SINUSOID</Property> <Property Descriptor="1">*-1m</Property> <Property Descriptor="2">*</Property> </Properties> </QuerySpec> DevNet Unplugged 2002 “Express Your Innovations”

  14. ICE function call javascript <APPLET id="apWSQ“ code=“PIWSQuery” . . . ./> apWSQ = AddQS ( “GetPITagData“) apWSQ.AddQAProperty (“BOEvents.cBOEvents” ) apWSQ.AddQAProperty ( “localhost ” ) apWSQ.AddQAProperty ( “SINUSOID ” ) apWSQ.AddQAProperty ( “*-1m ” ) apWSQ.AddQAProperty ( “* ” ) DevNet Unplugged 2002 “Express Your Innovations”

  15. Call from javascript var strQuery=apWSQ.GetXMLDocument(); var result=apPISOAP.invoke("PIWSQuery2", strQuery); if (result == 0) { var strData=apPISOAP.getDataDoc("PIWSQuery2"); } apPIDatObj.SetXMLDocument(strData); DevNet Unplugged 2002 “Express Your Innovations”

  16. BO BO BO PI WebServices Detail Browser Internet Information Server(IIS) ICE Display Web Part Query Object PI Web Service SOAP Client PI Data Object DevNet Unplugged 2002 “Express Your Innovations”

  17. Business Objects Internet Information Server(IIS) PI Web Service BOEvents.cBOEvents Query Spec Object PI Data Object DevNet Unplugged 2002 “Express Your Innovations”

  18. The VB Business object Implements IPIWEBBO Public Function IPIWEBBO_QueryData( _ oQS As QuerySpec, …. ) As PIDataObject …… Dim oPIDO As PIDataObject …… Set IPIWEBBO_QueryData = oPIDO End Funtion DevNet Unplugged 2002 “Express Your Innovations”

  19. What was that again? DevNet Unplugged 2002 “Express Your Innovations”

  20. The ICE Toolkit • A separate setup kit for developers • Developers User Guide and reference • Web Part templates • VB Wizard for ICE business object • Sample code for ICE business object DevNet Unplugged 2002 “Express Your Innovations”

  21. Developers guide • Theory of ICE operation • Methods for ICE development • Discussion of the web part templates • Style sheet reference • API and Object reference • How to build a business object DevNet Unplugged 2002 “Express Your Innovations”

  22. Create a web part DevNet Unplugged 2002 “Express Your Innovations”

  23. BO BO BO PI WebServices Detail Browser Internet Information Server(IIS) ICE Display Web Part Query Object PI Web Service SOAP Client PI Data Object DevNet Unplugged 2002 “Express Your Innovations”

  24. Business Objects Internet Information Server(IIS) PI Web Service BOEvents.cBOEvents Query Spec Object PI Data Object DevNet Unplugged 2002 “Express Your Innovations”

  25. Demo Custom Data DevNet Unplugged 2002 “Express Your Innovations”

  26. Resources • ICE Toolkit • Developers Guide and Reference • Template ASP web parts • Business object sample • ICE Source (It’s mostly ASP files in text) • Digital Dashboard Resource Kit • BetaICE@osisoft.com mailbox DevNet Unplugged 2002 “Express Your Innovations”

  27. Call to Action • Install the ICE Toolkit • Use the Admin and Devo Guides • Design ICE Business objects for custom data integration. • Build custom parts DevNet Unplugged 2002 “Express Your Innovations”

  28. Extend your reach! Questions? Thanks! DevNet Unplugged 2002 “Express Your Innovations”

More Related