© 2019 aveva group plc and its subsidiaries. all rights reserved. na 2019 day 1 content/mc-tr-02...
TRANSCRIPT
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Presented by:
Session ID: MC-TR-02
OMI 2020 Preview:Getting Started and Using NET Controls
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Luna Li, Senior Technical Training Instructor
November 12, 2019
Agenda
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
ViewApp, Screen Profiles, Layouts
Content Types
Customizing the Model View
Content Presenter
.NET Controls
Scripting
Key Messaging
• Reduce engineering cost and life cycle cost
• Leverage content from InTouch for System Platform and InTouch Modern applications
• Integrated navigation with the Plant Model
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Requirements and Expectations
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
• Application Server knowledge
• Industrial Graphics knowledge (FKA ArchestrA Graphics)
• Scripting knowledge
• Follow-the-leader exercises
• BETA software (might go BOOM!)
View App, Screen Profiles, and Layouts
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Exercise 1
1. Create a Screen Profile
2. Create a Layout
3. Create a ViewApp derived template
4. Preview the ViewApp
5. Use the apps to explore out-of-the-box navigation
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
ViewApp, Screen Profile, and Layout
Content Types
• Display graphics on specific locations by matching Content Types
• Content Types can be configured in:
• Symbols
• Layouts
• Panes
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Exercise 2
1. Configure the Content Type property on the panes of the Layout
2. Configure the Content Type property on the Industrial Symbols
3. Preview the ViewApp
4. Use the apps to explore how the graphics are displayed in consistent locations (Panes)
Note: Some graphics are already configured
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Content Types
Content Presenter
• Display multiple graphics on a single container
• Allows for filter criteria to restrict which graphics will be displayed
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
NEW options for Operations Management Interface 2020
Exercise 3
• Create a Layout
• Add and configure the Content Presenter app
• Add a new navigation item to call the new layout
• Test on runtime: Navigate to the Content Presenter
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Content Presenter
Model View Customization
In the ArchestrA IDE, the Model view allows:
• Rearrange the order of instances
• Assign alias names to instances
• Hide instances from navigation using the prefix “_” (not in this build)
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Exercise 4
1. Undeploy AppEngine1
2. Rearrange items in the Model view
3. Rename the alias name for items in the Model view
4. Deploy AppEngine1
5. Preview the ViewApp
6. See the updated content on the Navigation Tree app
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Customizing the Model View
.NET Controls Support
• Support for:
• Windows Presentation Foundation (WPF) .NET controls
• Windows Forms (WinForms) .NET controls
• Automatic wrap of .NET controls as ArchestrA Apps
• Control Library file (dll) must be imported as an ArchestrA App
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
NEW for Operations Management Interface 2020
Exercise 5
1. Import System.Windows.Forms.dll as an ArchestrA App
2. Modify the Layout to add a new Pane
3. Add the Data Grid View control to the new pane
4. Preview the ViewApp
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Importing and adding .NET Controls
Scripting Support
• Create QuickScript .NET scripts on a Layout
• Types of scripts:
• On Show
• While Showing
• On Hide
• Named Scripts
• New namespace: MyContent
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
NEW for Operations Management Interface 2020
Exercise 6
1. Create a Named Script with a Data Change trigger
2. Add script to query a table based on the selected asset
3. Preview the ViewApp
4. See the grid control updated based on the selected asset
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Using Scripts on a Layout
Summary
Operations Management Interface provides:
• Easy experience to create layout-based displays
• Built-in navigation integrated with the Plant Model
• Out-of-the box apps
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Survey
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Review this session in the AVEVA World Conference APP
Haven’t downloaded the app yet?
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.
Get the app
1 Go the right store. Access the App Store on
iOS devices and the Play Store on Android.
If you’re using a Blackberry or Windows phone,
skip these steps. You’ll need to use the web
version of the app found here:
https://event.crowdcompass.com/2019awc.
2 Install the app. Search for AVEVA World.
Once you’ve found the app, tap either Get or
Install.
3 View the session in the app and the survey
will appear after the session concludes.
linkedin.com/company/aveva
@avevagroup
ABOUT AVEVA
AVEVA is a global leader in engineering and industrial software driving digital transformation across the entire asset and operational l ife cycle of capital -intensive industries.
The company’s engineering, planning and operations, asset performance, and monitoring and control solutions deliver proven results to over 16,000 customers across the globe. Its customers are supported by the largest industrial software ecosystem, including 4,200 partners and 5,700 certified developers. AVEVA is headquartered in Cambridge, UK, with over 4,400 employees at 80 locations in over 40 countries.
aveva.com
© 2019 AVEVA Group plc and its subsidiaries. All rights reserved.