主权项 |
1. An automation control system, comprising:
one or more components comprising a plug-in management system configured to handle chainable plug-ins corresponding to the one or more components, by: registering one or more chainable plug-ins with each of the respective one or more components, determining particular plug-in resource types handled by a plurality of available chainable plug-ins from the registered one or more chainable plug-ins; determining a proper chain of two or more of the plurality of available chainable plug-ins from the registered one or more chainable plug-ins that, when chained, implement functionality of one chainable plug-in via a resource type of a different chainable plug-in, wherein the proper chain comprises a proper order of the two or more of the plurality of available chainable plug-ins that implements the functionality for the resource type; wherein the functionality includes transforming data, generating events or both in the automation control system; wherein the chainable plug-ins are chained based on the resource data, the events, or both, and based upon resource types handled by the chainable plug-ins; wherein the chainable plug-ins comprise at least one polymorphic chainable plug-in, the polymorphic chainable plug-in comprising a common interface capable of handling a plurality of resource types defined by a polymorphic chain; and wherein the proper chain comprises the at least one polymorphic chainable plug-in, making use of the common interface using one of the plurality of resource types defined by the polymorphic chain. |