Modular Application Creator Use Case Based Documentation
All Classes Namespaces Functions Variables Properties Pages
Overview

Quick Navigation

  1. Use Cases
    1. Create Variables
    2. General Support
    3. Generic Block Generation
    4. Hardware Generation
    5. Hardware Generation Excel Based
    6. Use Integrated Libraries
    7. Model Serialization
    8. Non Tia Portal Bases Operations
    9. Technology Object Handling
    10. Software Units
  2. How to integrate libraries
  3. How to use different lanugages
  4. Help for this documentation

How to integrate libraries

With the help of the .tiares file, libraries can be easily integrated in the Module Builder. To do this, the file must first be opened in Visual Studio.

Open Tiares

In the newly opened window, the selection menu can now be opened using the button in the top left-hand corner. The desired library must then be selected there.

Open Library

By clicking on the "Mastercopies" area and then pressing the "Add" button, everything is included. This window can then be closed again, as everything is saved automatically.

Add Library

To integrate parts of the library use the code explainned in Use Integrated Libraries

How to use different lanugages

Currently the Modular Application Creator supports following languages:

  • en - English
  • de - German
  • zh - Chinese

The language can be changed during runtime in the settings menu. Depending on the selected language one of the defined XAML ResourceDictionary will be used.

XAML ResourceDictionary

Create KeyValue pairs in the ResourceDictionaries with matching Key and use them with DynamicResource Binding in your XAML files:

<TextBlock Text="{DynamicResource SampleText}" />

Help for this documentation

Classes

The "Classes" section explains the classes used in the project. In addition to the explanation of the class and a first overview of all functions used in the class, the page contains a detailed explanation of all functions of the class.

Class Explanation

In all explanatory sections there is a short literal explanation of the function and its parameters, as well as a picture of the resulting result in the Tia Portal after generation. Also included is the used code of the function and a link to the code of the whole class.

Function Explanation

Files

The above-mentioned link to the class code then points to the files contained in the "Files" section. There, all classes in the C# code are included again to show how the classes look as simple as possible. It is also possible to copy the code to reuse it in your own modules.

Code Explanation