ChangingRuleBased_v2
The code has the following modifications: - RULE section is written just after controls - SYST is now written SYSTEM (also PRESSURE, DEMAND, POWER, SETTING, FILLTIME and DRAINTIME have been changed) - some description to the function writeRuleinInp has been added - Actions are now written in the correct order
This commit is contained in:
@@ -506,6 +506,7 @@ struct ActItem *ActList; /* Linked list of action items */
|
||||
int RuleState; /* State of rule interpreter */
|
||||
long Time1; /* Start of rule evaluation time interval (sec) */
|
||||
struct Premise *Plast; /* Previous premise clause */
|
||||
|
||||
struct Action *Tlast; /*Previous true action */
|
||||
struct Action *Flast; /*Previous false action */
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user