Previous Topic

Next Topic

Book Contents

Book Index

Method Rules

Method rules define actions that change the status of a Control-O/COSMOS-controlled object.

Method rules must begin with an ON RULE statement. They are triggered by a DO RULE statement in the COSFSMAC rule. The rule name specified in the ON RULE statement of the Method rule must be the name specified in the METHOD column of the Method database.

When Control-O/COSMOS determines that an object’s status does not match its desired status, it searches the Method database for the name of a method to change the status of the object. When a matching row is found in the Method database, the rule specified in the METHOD column of the row is triggered (using the COSFSMAC rule).

Sample Method rules (with a prefix of COSMET) are provided with Control-O/COSMOS. These Method rules can be customized and additional Method rules can be defined to conform with site requirements.

Parent Topic

Control-O/COSMOS Rules