.NET Customisation
User Guide
.NET Customisation
:
PML.NET
: Design Details
Design Details
PML callable assemblies are loaded by the AVEVA module using the IMPORT syntax. Assemblies may be defined in potentially any .NET language, for example managed C++, C# or VB.NET. The PML.NET Engine loads a given assembly using reflection. The assembly may be located in the %AVEVA_DESIGN_EXE% directory, a subdirectory below %AVEVA_DESIGN_EXE% a mapped drive or on a UNC path. When the assembly is loaded PML class definitions are created for each PML callable class within the assembly. The PML.Net Engine only loads assemblies which are marked with the custom attribute PMLNetCallable. Only classes and methods which are marked as PMLNetCallable are considered. In order to create a valid PML Proxy class definition the .NET class and its methods must adhere to certain rules. Once an assembly has been loaded instances of PMLNetCallable classes may be created. No additional code to interface between PML and .NET is necessary. This is provided by the PMLNetEngine.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.