Siemens.Collaboration.Net.TiaPortal.Openness.Hmi.Extensions 16.0.1685432427

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Siemens.Collaboration.Net.TiaPortal.Openness.Hmi.Extensions --version 16.0.1685432427                
NuGet\Install-Package Siemens.Collaboration.Net.TiaPortal.Openness.Hmi.Extensions -Version 16.0.1685432427                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Siemens.Collaboration.Net.TiaPortal.Openness.Hmi.Extensions" Version="16.0.1685432427" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Siemens.Collaboration.Net.TiaPortal.Openness.Hmi.Extensions --version 16.0.1685432427                
#r "nuget: Siemens.Collaboration.Net.TiaPortal.Openness.Hmi.Extensions, 16.0.1685432427"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Siemens.Collaboration.Net.TiaPortal.Openness.Hmi.Extensions as a Cake Addin
#addin nuget:?package=Siemens.Collaboration.Net.TiaPortal.Openness.Hmi.Extensions&version=16.0.1685432427

// Install Siemens.Collaboration.Net.TiaPortal.Openness.Hmi.Extensions as a Cake Tool
#tool nuget:?package=Siemens.Collaboration.Net.TiaPortal.Openness.Hmi.Extensions&version=16.0.1685432427                

TIA Portal Openness HMI Extensions

Nuget Nuget
Nuget Nuget Nuget

Includes Nuget Nuget Nuget

Siemens Collaboration Openness HMI Extensions provide extensions for Siemens Engineering HMI types to help you write cleaner and more efficient code.

Installation

  • install package Siemens.Collaboration.Net.TiaPortal.Openness.Hmi.Extensions and select a matching version (17.* = TIA Portal V17, 18.* = TIA Portal V18)
  • reload and build the project

Dependencies

By installing this package, the following packages are automatically installed and must not be installed individually:

  • TIA Portal Openness References
    All Siemens.Engineering assemblies are referenced automatically. Please see README for further documentation.

  • TIA Portal Openness Resolver
    Using Api.Global.Openness().Initialize() will resolve all Siemens.Engineering assemblies at runtime. Please see README for further documentation.

  • TIA Portal Openness Extensions
    TIA Portal Openness Core Extensions for Siemens Engineering types. Please see README for further documentation.

Extensions

TIA Portal Openness HMI Extensions provide a lot of extensions for various Siemens Engineering HMI types. The following chapters are an excerpt of the most frequently used extensions.

HMI Unified

Hardware

Get all HmiSoftware in this project recursively

IEnumerable<HmiSoftware> hmiSoftware = tiaProject.AllHmiSoftwares()

Get the HmiSoftware of a Device

HmiSoftware hmiSoftware = device.AsHmiSoftware();

Get the Device of a HmiSoftware

Device device = hmiSoftware.Device();
Screens

Get a screen by name or create it if not found

Screen conveyorsScreen = screens.AddOrGet("Conveyors");

Get a screen item by name or create it if not found

HmiSlider velocitySlider = screen.ScreenItems.AddOrGet<HmiSlider>("TargetVelocity");

Return the parent composition of a screen object

HmiScreenComposition screens = screen.ParentComposition();

Type safe access to all items of a specific type in a given screen

var textBoxes = screen.ScreenItems.Typed<HmiTextBox>();

Get all buttons

var buttons = screen.Buttons();

Get all sliders

var sliders = screen.Sliders();

Get all alarm controls

var alarmControls = screen.AlarmControls();

HMI Advanced/Professional

Get all HmiTarget in this project recursively

IEnumerable<HmiTarget> hmiTargets = tiaProject.AllHmiTargets()

Get the HmiTarget of a Device

HmiTarget hmiTarget = device.AsHmiTarget();

Get the Device of a HmiTarget

Device device = hmiTarget.Device();
Product Compatible and additional computed target framework versions.
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
19.0.1725480563 191 9/6/2024
18.0.1725480534 114 9/6/2024
18.0.1685432506 417 5/30/2023
18.0.1685386093 157 5/29/2023
17.0.1725480505 121 9/6/2024
17.0.1685432475 157 5/30/2023
16.0.1725480462 104 9/6/2024
16.0.1685432427 153 5/30/2023
16.0.1685386020 149 5/29/2023