Click or drag to resize

Model Build

Home
Introduction

This topic describes the purpose and tasks performed when building a solution and it contains the following topics:

Purpose of building the solution

The figure below shows the OPC Foundation's UA SDK approach to server implementation and modeling. SDK assumes that the model is in an XML file. Based on that file, the SDK Model Compiler generates the following files:

  • Model implementation and all necessary declarations in C# language. We can add this code file to the server source code to easily build a server based on the model.

  • XML and binary initialization files - those XML or binary documents contain all necessary information required by the Node Manager class, to instantiate any necessary notes.

  • XML and binary schemas - those files contain information about custom serialization of the model-specific types of user data in the model.

Code Generation
Figure 1: Code generation
See Also