A family rule project is an organizational unit that provides the coding infrastructure within which the rules for that family will be written and stored.
Family rules can be viewed and managed in the GE Digital APM Rules Editor. When you open the rule project for a family, the family rule project will be selected by default. Below the project name is a list of all the items that are currently included in the project.
By default, the content of the project will consist of references and files. Each family rule project contains a file for the family itself and a file for each field within the family. A file will be created for each field that is defined directly within that family and each field that is spread down from a family where the field can be customized at the sublevel.
As you add fields to a family, new files will be added to the family rule project. You can select any file to view and modify the code that is stored within it.
Within each file, a class is defined for the corresponding family or field. Each class serves as the organizational unit within which actual family-level and field-level customization code exists. The name of the file matches the name of the class defined within it, which in turn corresponds to the field ID or family ID (i.e., not the family or field caption).
Note: Changing the ID for a field when the field already has a VB.Net file will cause GE Digital APM to create a new file based on the new ID. The old file will not be deleted but will be disconnected from the field.
You can open multiple rule projects at a time. When you do so, each rule project will appear as a root-level entry in the Solution Explorer pane.
When you access the family rule project for a baseline GE Digital APM family, the corresponding baseline Rules Library project will also appear in the Solution Explorer pane. The baseline Rules Library project has the same name as the family rule project with _Base appended to it.
You cannot modify the baseline Rules Library project, but it is displayed so that you can easily view and debug the baseline rule code to understand the baseline family and field rules.
Copyright © 2018 General Electric Company. All rights reserved.