Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "DevNet Unplugged 2002 “Express Your Innovations” Extend your Reach Jason Banfelder – Kesler Engineering Brian Bostwick - Omicron Consulting Developing."— Presentation transcript:

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

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

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

4 DevNet Unplugged 2002 “Express Your Innovations” 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

5 DevNet Unplugged 2002 “Express Your Innovations” 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.

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

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

8 DevNet Unplugged 2002 “Express Your Innovations” 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);

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

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

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

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

13 DevNet Unplugged 2002 “Express Your Innovations” ICE function call in XML - BOEvents.cBOEvents localhost SINUSOID *-1m *

14 DevNet Unplugged 2002 “Express Your Innovations” ICE function call javascript apWSQ = AddQS ( “GetPITagData“) apWSQ.AddQAProperty (“BOEvents.cBOEvents” ) apWSQ.AddQAProperty ( “localhost ” ) apWSQ.AddQAProperty ( “SINUSOID ” ) apWSQ.AddQAProperty ( “*-1m ” ) apWSQ.AddQAProperty ( “* ” )

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

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

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

18 DevNet Unplugged 2002 “Express Your Innovations” 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

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

20 DevNet Unplugged 2002 “Express Your Innovations” 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

21 DevNet Unplugged 2002 “Express Your Innovations” 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

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

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

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

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

26 DevNet Unplugged 2002 “Express Your Innovations” 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 mailboxBetaICE@osisoft.com

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

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


Download ppt "DevNet Unplugged 2002 “Express Your Innovations” Extend your Reach Jason Banfelder – Kesler Engineering Brian Bostwick - Omicron Consulting Developing."

Similar presentations


Ads by Google