TypeOverride (Type Override)

This component is an example of a program to override a data type.
Figure 101.   TypeOverride properties
Image

To use this program object, drag it from the Programs folder in the jsonToolkit palette to the Config folder in the station. To open its AX Property Sheet, double-click the TypeOverride object in the station.

To view the example code, right–click the ExampleOverride node, clickViews > Program Editor and, if needed, click the Edit tab.

In addition to the standard properties (Status and Fault Cause), these properties support the TypeOverride example. These properties are part of the Program component from the Program module and are not specific to the JSON Toolkit.

Property Value Description
Class Name read-only Reports the name that describes this object. Each object is created from a single class. One class can instantiate multiple objects.
Class File read-only Reports the name of the file that contains the custom program.
Dependencies read-only Identifies the dependent modules.
Signature read-only Identifies the mathematical scheme used to verify the authenticity of the program.
Source read-only Displays the program’s source code.
User Defined Imports read-only Displays user-defined custom imports of the types used in the source code.

Action-Override

These action are available when you right-click on the TypeOverride. This action overrides the existing types of program code.

Figure 102.   TypeOverride action button
Image
  • Override executes the command.