FactMES.Client.Common Namespace
- Last UpdatedNov 06, 2025
- 22 minute read
| Class | Description | |
|---|---|---|
![]() | AddAttrArrayList | The AddAttrArrayList class includes a method for adding objects of the type AttrData to the System.Collections.arraylist. |
![]() | Attr | The Attr class is an abstract class that is the base class for all attribute types. It contains all the properties and functions common to all attributes. Specific attribute types such as item and lot attributes inherit from this class and then add their specifics to it. |
![]() | AttrData | The AttrData class includes a constructor for setting up variables for attribute data. |
![]() | Attrs | The Attrs class contains methods for retrieving and setting various attributes within the MES system. |
![]() | Attrs.attrValue | The attrValue class holds information about an attribute value, including its ID, its value, its last edit time, and its mod ID. |
![]() | CertExec | The CertExec class provides a means for handling certifications for jobs and steps. An instance of this class is created whenever the user logs onto an entity that can run jobs. |
![]() | Certs | The Certs class provides a means for handling certifications for jobs and steps. |
![]() | ClientSession | The ClientSession class manages the MES session for an application. You use it to start a session with the MES Middleware and log users onto the session. The ClientSession object has a property to indicate which user is the current user. Through the users, you access the entities the users are logged onto. Through the entities, you access the jobs that are running on the entities. There is only one ClientSession object for an application, and the object exists from the time it is created until the application ends. You get a reference to the ClientSession object by calling the GetInstance() static method. The first call to this method will create the ClientSession object. For more examples, see Using the MES Stateful API. |
![]() | DataLogChangedEventArgs | The DataLogChangedEventArgs class is a job event class that handles changes to the data log records. |
![]() | DataLogGrp | The DataLogGrp class is used to represent a single data log group. Each instance of this class represents a row from the Data_Log_Grp table. |
![]() | DataLogs | The DataLogs class provides a number of static functions to handle data log groups and values. |
![]() | DataLogValue | The DataLogValue class is used to represent a single data log value within a data log group. Each instance of this class represents a row from the Data_Log_Value table. |
![]() | DateTimeEntryDlg | Date/Time entry dialog which supports entry of an empty date and time. |
![]() | Documents | The Documents class contains methods for handling documents in MES. All methods in this class are static. |
![]() | DurationEntryDlg | The DurationEntryDlg class includes methods for adding and maintaining duration entry datalog records in the Duration_Entry_DLG table. It supports entry of a duration value, with hours, minutes and seconds components. Minutes and seconds must lie within the range 0 - 59. The maximum value of hours (e.g. 9999) is passed into the constructor. |
![]() | Ent | The Ent class handles all the MES functionality for an entity. An Ent object is created for each entity that the user logs into. The Ent object will create service objects for each capability of the entity (e.g., a JobExec object is created if the entity has the "can run jobs" capability). |
![]() | EntAttr | The EntAttr class inherits from the abstract Attr class and represents a single entity attribute in the database. It exposes the attribute's properties as object properties and exposes functions to load and save it from the database. |
![]() | EntEventArgs | The EntEventArgs class passes a reference to an Ent object in the event argument. This class is used when raising an event concerning an entity. |
![]() | Ents | The Ents class handles MES functionality for entities that are not the currently selected entity. |
![]() | EnumDescriptionAttribute | Provides a description for an enumerated type. |
![]() | FactelligenceAvailableButton | The FactelligenceAvailableButton class provides an implementation of the IAvailableButtons interface, which can be passed to the Button Bar to provide a list of available buttons for a control. The class uses a supplied screen name to search the UI_Button_Set table to get a list of buttons to be used for the screen. |
![]() | FileHelper | The FileHelper class provides a number of static functions to provide common file handling functions. |
![]() | Folder | The Folder class provides methods and properties for handling a single folder. It exposes all the dependent data of a folder, as well as the files attached to the folder (it does not contain files for the item for which the folder is built). The class also provides a means for updating the folder's information in the database. |
![]() | Folders | The Folders class provides a means for using folders in MES when not in the context of a job. This class contains only static methods. |
![]() | FoldersExec | The FoldersExec class provides a means for using folders in MES. An instance of this class is created every time a user logs onto an entity. |
![]() | Item | The Item class represents a single item in the database. It exposes the item's configured properties as class properties and exposes functions to load and save the item from the database. |
![]() | ItemAttr | The ItemAttr class inherits from the abstract Attr class and represents a single item attribute in the database. It exposes the attribute's properties as object properties and exposes functions to load and save it from the database. |
![]() | ItemClass | The ItemClass class represents a single item class in the database. It exposes the item class's configured properties as object properties and exposes functions to load and save the item class from the database. |
![]() | ItemClassAttr | The ItemClassAttr class inherits from the abstract Attr class and represents a single item_class attribute in the database. It exposes the attribute's properties as object properties and exposes functions to load and save it from the database. |
![]() | ItemFile | The ItemFile class includes methods for adding and maintaining collection of files associated with the specified item. |
![]() | ItemGrade | The ItemGrade class represents a single item grade in the database. It exposes the item grade's configured properties as object properties. |
![]() | ItemGrades | The ItemGrades class is implemented as a singleton to expose all the item grades defined in the database. It exposes some static functions for handling item grades. Individual item grades are exposed via an indexer as ItemGrade objects keyed by the state code. |
![]() | ItemReasons | The ItemReasons class provides methods for accessing item reasons. |
![]() | ItemReasons.ItemReasData | The ItemReasData class is used to store item reason data. |
![]() | Items | The Items class contains static methods for reading and updating items and item_classes, and their attributes, from the MES database. It defines classes for items and item_class that allow easy access to their properties. |
![]() | ItemState | The StateGrade class represents a single item state in the database. It exposes the item state's configured properties as object properties. |
![]() | ItemStates | The ItemStates class is implemented as a singleton to expose all the item state defined in the database. It exposes some static functions for handling item states. Individual item states are exposed via an indexer as ItemState objects keyed by the state code. |
![]() | Job | The Job class is used to represent a single job defined in the database; that is, a single row from the Job table. It exposes job fields as properties. |
![]() | JobAttr | The JobAttr class inherits from the abstract Attr class and represents a single job attribute in the database. It exposes the attribute's properties as object properties and exposes functions to load and save it from the database. |
![]() | JobEventArgs | The JobStatusEventArgs class passes details of a job with a new status in the event argument. |
![]() | JobExec | The JobExec class handles all the MES functionality for a job. A JobExec object is created for each job position that the entity is capable of running. For a sample client code to start a job, see Interacting with MES. It is recommended to retrieve the entity from the entity list (ClientSession.CurUser.EntList) and then call the JobExec from the entity instead of calling directly on the clientSession.curUser.curEnt.JobExec. This avoids a potential conflict with another user/object/script changing the curEnt while executing the code. |
![]() | Jobs | The Jobs class provides MES functionality for a job when not in the context of a currently running job. All information identifying the job must be provided. All methods in this class are static. |
![]() | JobSpec | The JobSpec class is used to represent a single job specification defined in the database; that is, a single row from the Job_Spec table. It exposes the specification fields as properties and exposes functions to update the actual values of the specification. |
![]() | JobStatusEventArgs | The JobStatusEventArgs class passes details of a job with a new status in the event argument Inherits from the JobEventArgs class, which has base job details. |
![]() | JobStepExec | The JobStepExec class provides means of using steps when running a job. An instance of this class is created every time a JobExec object is created for an entity that can run jobs. |
![]() | JobSteps | The JobSteps class contains static methods pertaining to job steps. |
![]() | Labor | The Labor class provides methods for using labor in MES. |
![]() | LaborExec | The LaborExec class provides methods for using labor in MES. An instance of this class is created every time a user logs into an entity that has the "can_capture_labor" property. |
![]() | LangStrings | The LangStrings class stores all static strings for an MES language in a client side cache. An instance is created for each different language required by all logged on users. Client applications use the Translate() function to translate a specific string. |
![]() | LicenseInfo | The LicenseInfo class reads the current License Information from the MES middleware on initialization. The maximum sessions for each client type and the modules licensed can be accessed through this class. |
![]() | Lot | The Lot class represents a single lot in the database; that is, a single row from the Item_Inv table. It exposes the lot's configured properties and attributes and exposes functions to load and save the lot from the database. |
![]() | LotAttr | The LotAttr class inherits from the abstract Attr class and represents a single lot attribute in the database. It exposes the attribute's properties as object properties and exposes functions to load and save it from the database. |
![]() | Lots | The Lots class provides methods for using lots in MES. |
![]() | OEEEventArgs | The OEEEventArgs class includes methods for passing the current OEE information in the event arguments. |
![]() | OEEExec | The OEEExec class provides a means for using OEE in MES. An instance of this class is created every time a user logs onto an entity that can track OEE. |
![]() | Operations | The Operations class contains static methods pertaining to operations in the Job table. |
![]() | OperationSelectionDlg | The OperationSelectionDlg class displays a list of operations based on the supplied pattern. |
![]() | OperAttr | The OperAttr class inherits from the abstract Attr class and represents a single operation attribute in the database. It exposes the attribute's properties as object properties and exposes functions to load and save it from the database. |
![]() | ParameterValue | The ParameterValue class includes methods for defining parameter/value pairs. |
![]() | ParameterValueArrayList | The ParameterValueArrayList class includes methods for adding and maintaining a new array that holds parameter/value pairs. |
![]() | PerformanceStats | Represents a strongly typed in-memory cache of data. |
![]() | PerformanceStats.StatsDataTable | Represents the strongly named DataTable class. |
![]() | PerformanceStats.StatsRow | Represents strongly named DataRow class. |
![]() | PerformanceStats.StatsRowChangeEvent | Row event argument class |
![]() | PersistImages | The PersistImages class implements the IPersistImage interface to allow graphic images to be loaded and saved to the graphics table. |
![]() | Priv | The Priv class includes the method for storing all properties associated with a single user group privilege. An instance of this class is created for each privilege loaded for a user at startup. Each instance is exposed to client applications via an indexer on the UserPriv's class. |
![]() | ProcessAttr | The ProcessAttr class inherits from the abstract Attr class and represents a single process attribute in the database. It exposes the attribute's properties as object properties and exposes functions to load and save it from the database. |
![]() | Shifts | The Shifts class provides supporting methods for the Shift table. The Shift table stores time periods when entities are available to perform work. |
![]() | SpecExec | The SpecExec class includes methods for getting and saving job specifications. This class can also be used to update operation specifications. |
![]() | Specs | The Specs class includes methods for retrieving specifications. |
![]() | Storage | The Storage class provides a mean for handling inventory and storage entities without having to log into an entity. The methods in this class are all static. |
![]() | StorageExec | The StorageExec class provides a means of handling inventory and storage entities for the current entity. |
![]() | SystemAttr | The SystemAttr class exposes the configured properties for a specified system attribute An instance is created by the SystemAttrs object for each defined system attribute at startup and exposed to client applications via an indexer into the collection of attribute objects in SystemAttrs. |
![]() | SystemAttrs | The SystemAttrs class reads all the System Attributes from the MES middleware on initialization. It then stores them locally and makes them available to calling applications through the read-only Item property. |
![]() | UIConfig | The UIConfig class provides methods for reading and saving entries in the UI_Config and UI_Config_Default tables. These tables store configuration data for the various controls, such as column widths, sort orders, and field visibility. All the methods of this class are static; a class instance cannot be created. |
![]() | UIExtensions | The UIExtensions class includes methods for dynamically locating load and creating instances of classes that implement the Fact.Client.Interfaces.IUIExtensionControl interface and have the Fact.Client.Interfaces.UIExtensionAttribute on the class. This is to allow assemblies to load plugins without having direct references to them. |
![]() | User | The User class handles all the MES functionality for a user logged on to MES. |
![]() | UserEventArgs | The UserEventArgs class supplies the User object for the new user when a UserChanged event is fired. |
![]() | UserGrps | The UserGrps class contains methods for handling user groups in MES. All methods in this class are static. |
![]() | UserPrivs | The UserPrivs class handles all user privilege functions in MES for a user logged onto MES. Privileges are defined as rows in the Priv table in the MES database, so it is possible for the privileges in the Privileges enumeration to not exist in the database if the database is not up to date. |
![]() | Users | The Users class contains methods for handling users in MES. All methods in this class are static. |
![]() | Util | The Util class provides static methods for working with utilization data, which is used to track entity state. Examples of entity states include running, idle, and offline. |
![]() | UtilEventArgs | The UtilEventArgs class passes current utilization information in the event arguments. |
![]() | UtilExec | The UtilExec class supports utilization tracking in MES. An instance of this class is created every time a user logs on to an entity that can track utilization. |
![]() | Utility | The Utility class contains assorted utility methods, useful for a variety of purposes. All methods are static, so the class is never instantiated into an object. |
![]() | Utility.itemGrade | This class contains item grade, color, and reason. It is used to associate a specific color and reason to a given item grade. |
![]() | UtilRawReason | The UtilRawReason class represents a single utilization raw reason in the database. It exposes the utilization raw reason's configured properties as class properties and exposes functions to load and save the utilization raw reason from the database. |
![]() | UtilRawReasons | The UtilRawReasons class provides supporting methods for the Util_Raw_Reas table. The Util_Raw_Reas table associates utilization raw reasons with an entity and default reason code. |
![]() | UtilReasonGroup | The UtilReasonGroup class represents a single Util_Reas_Grp object in the database. It exposes the utilization reason group's configured properties as object properties and exposes functions to load and save the Util_Reas_Grp object from the database. |
![]() | UtilReasonGroups | The UtilReasonGroups class provides supporting methods for the Util_Reas_Grp table. The Util_Reas_Grp table defines groups of reasons that a machine might go into a certain state. |
![]() | UtilReasons | The UtilReasons class provides supporting methods for the Util_Reas table. The Util_Reas table associates utilization reasons, such as running or maintenance, with entity states. |
![]() | UtilReasons.UtilReasData | The UtilReasData class is used to store utilization reason data, including the associated entity state, as well as the categories of the utilization reason (runtime, downtime, etc.). |
![]() | UtilReasonSelectionDlg | The UtilReasonSelectionDlg class displays a list of reasons based on the supplied pattern. |
![]() | UtilStates | The UtilStates class provides supporting methods for the Util_State table. The Util_State table contains the description and color associated with each entity utilization state, such as running or idle. |
![]() | WO | The WO class is used to represent a single work order defined in the database; that is, a single row from the WO table. It exposes work order fields as properties and optionally loads and exposes work order attributes. |
![]() | WOAttr | The WOAttr class inherits from the abstract Attr class and represents a single work order attribute in the database. It exposes the attribute's properties as object properties and exposes functions to load and save it from the database. |
![]() | WorkOrderSelectionDlg | The WorkOrderSelectionDlg class displays a list of work orders based on the supplied pattern. Closed work orders are excluded. |
| Delegate | Description | |
|---|---|---|
![]() | DataLogChangedDelegate | DataLogChangedDelegate is the delegate declaration for the JobStatusChanged event. |
![]() | EntChangedDelegate | EntChangedDelegate is the delegate declaration for catching the EntChanged event. |
![]() | EntListChangedDelegate | EntListChangedDelegate is the delegate declaration for catching the EntListChanged event. |
![]() | JobDelegate | JobDelegate is the delegate declaration for the Job event. |
![]() | JobStatusChangedDelegate | JobStatusChangedDelegate is the delegate declaration for the JobStatusChanged event. |
![]() | OEEChangedDelegate | OEEChangedDelegate is the delegate declaration for the OEEChanged event. |
![]() | PerformanceStats.StatsRowChangeEventHandler | |
![]() | RefreshControlsDelegate | RefreshControlsDelegate is the delegate declaration for catching the RefreshControls event. |
![]() | UserChangedDelegate | UserChangedDelegate is the delegate declaration for catching the UserChanged event. |
![]() | UtilReasonChangedDelegate | UtilReasonChangedDelegate is the delegate declaration for the UtilReasonChanged event. |
![]() | UtilReasReqdDelegate | UtilReasReqdDelegate is the delegate declaration for the UtilReasReqd event. |
![]() | UtilStateChangedDelegate | UtilStateChangedDelegate is the delegate declaration for the UtilStateChanged event. |
| Enumeration | Description | |
|---|---|---|
![]() | AttrDataTypes | The AttrDataTypes enumeration values specify the data types that the value of an attribute can be. Each is represented by an integer value starting with 0. |
![]() | AttrGroups | The AttrGroups enumeration values specify the attribute group types. Each is represented by an integer value starting with 1. |
![]() | ClientTypes | The ClientTypes enumeration values specify the different types of MES client. |
![]() | CountsAndDurationControlStyle | The CountsAndDurationControlStyle enumeration values specify the control types that can be displayed for the KPI control. |
![]() | CountsAndDurationGraphType | The CountsAndDurationGraphType enumeration values specify the type of data that will be shown in the Pareto graph of the KPI control. |
![]() | DataLogTriggerTypes | The DataLogTriggerTypes enumeration values specify the different types of data log triggers available to data log groups. |
![]() | DataLogValueDataTypes | The DataLogValueDataTypes enumeration values specify all the possible data types for data log values. |
![]() | DlgProdOrConsUse | The DlgProdOrConsUse enumeration values are used by dialogs to specify the context in which the dialog is being invoked. |
![]() | EntityFilterRestrictionType | The EntityFilterRestrictionType enumeration contains values for determining what entities can be used for filtering the samples shown on the Sample Viewer, if any filtering. |
![]() | FilterTimeUnit | The FilterTimeUnit enumeration values specify the time unit for a custom filter. |
![]() | FilterType | The FilterType enumeration values specify the filter to use, including a custom filter, when retrieving OEE values. |
![]() | Folders.FolderTreeLevel | The FolderTreeLevel enumeration values specify the levels in the folders tree. The folders tree consists of item class at the top level followed by item, operation, entity, and version. |
![]() | FunctionalModules | The FunctionalModules enumeration values specify the possible functional modules licensed with MES. |
![]() | InvalidStepStates | The InvalidStepStates enumeration values specify the job states that are not valid step states. |
![]() | ItemReasonGroupType | The ItemReasonGroupType enumeration values specify the types of item reason groups. |
![]() | JobStates | The JobStates enumeration values specify the job states. |
![]() | KPIControlStyle | The KPIControlStyle enumeration values specify the control types that can be displayed for the KPI control. |
![]() | KPIType | The KPIType enumeration values specify whether the OEE, Quality, Availability, or Performance will be displayed for the specified filter period. |
![]() | LoginResultType | The LoginResultType enumeration values are used to report the result of the Inspector Login dialog. |
![]() | MESVersions | The MESVersions enumeration values specify the versions of the MES middleware and database to which this instance is connected, if any. |
![]() | OEEStatusFilter | The OEEStatusFilter enumeration values specify what filtering, if any, will be performed based on utilization status (i.e., runtime and downtime). |
![]() | Privileges | An enumeration for specifying the different MES privileges. |
![]() | ProductionUnitOfMeasure | The ProductionUnitOfMeasure enumeration values specify how many batches are being produced in a given time period. |
![]() | SPCButtonOptions | The SPCButtonOptions enumeration values specify the MES SPC button options. |
![]() | SpecDataTypes | The SpecDataTypes enumeration values specify the possible data types for a specification. |
![]() | StepStateType | The StepStateType enumeration values specify the valid step states. |
![]() | Storage.StorageStatus | The StorageStatus enumeration values specify the possible storage statuses for an entity. |
![]() | Storage.TransferConflictOption | The TransferConflictOption enumeration values specify to take if a conflict arises in the grade, status, or expiry when transfering inventory from one location to another. |
![]() | Storage.TransferOption | The TransferOption enumeration values specify the possible options for transferring inventory. |
![]() | SystemAttrIds | The SystemAttrIds enumeration values specify the index of all possible system attributes that are available. |
![]() | UIPlatformType | The UIPlatformType enumeration values valid UI platforms supported by MES. |
![]() | UserDisplayOptions | The UserDisplayOptions enumeration values specify different user display options. |
![]() | UtilFilterUnAck | The UtilFilterUnAck enumeration values specify whether unacknowledged events, acknowledged events, or both types of events should be shown. |
![]() | Utility.EntityCapabilities | The EntityCapabilities enumeration contains a list of capabilities which may be specified when calling the PopupEntitySelectionDialog method. In the Entity Selection Dialog, only those entities which have the specified capability may be selected by the user. |
![]() | UtilStatusFilter | The UtilStatusFilter enumeration values specify what filtering, if any, will be performed based on utilization status (i.e., runtime and downtime). |
![]() | UtilTimeFilterType | The UtilTimeFilterType enumeration contains values for specifying what time based filtering, if any, will be performed on the data of the Utilization Control. |
![]() | WOStates | The WOStates enumeration values specify the possible states for a work order. |


