Framework

The framework contains various classes, enumerations, interfaces and types that are used to create the controls. Various helper methods facilitate server-client communication, access to different content and positioning in a control. There are no controls in the package because it is intended for use in framework control projects.
The framework is written in TypeScript.

If the complete solution TF8040 is used, the framework also takes over many management functions to realize the Generic.

Installation

In order to use the framework, the NuGet package Beckhoff.TwinCAT.HMI.BA.Framework must be installed.
In addition, further functions are required, which originate from the following NuGet packages that are automatically installed as well:

Ensure that the files from the framework are loaded in the project. When used in a TcHmi framework project, the appropriate packages must be entered in the Manifest.json.

Framework 1:

IntelliSense support for the framework in Visual Studio can be achieved by adding the following entries to tsconfig.tpl.json:

"include": [
  "$(Beckhoff.TwinCAT.HMI.Framework).InstallPath/TcHmi.d.ts",
  "$(Beckhoff.TwinCAT.HMI.BA.Icons).InstallPath/index.d.ts",
  "$(Beckhoff.TwinCAT.HMI.BA.Framework).InstallPath/index.d.ts"
]