Example #1
0
 /// <summary> Method is called to Remove an activation from the agenda.
 /// </summary>
 /// <param name="">actv
 ///
 /// </param>
 public virtual void removeActivation(IActivation actv)
 {
     if (profRm)
     {
         removeActivationWProfile(actv);
     }
     else
     {
         if (watch_Renamed_Field)
         {
             engine.writeMessage("<= " + actv.toPPString() + "\r\n", "t");
         }
         actv.Rule.Module.removeActivation(actv);
     }
 }
Example #2
0
 /// <summary> Add an activation to the agenda.
 /// </summary>
 /// <param name="">actv
 ///
 /// </param>
 public virtual void addActivation(IActivation actv)
 {
     // the implementation should Get the current focus from Rete
     // and then Add the activation to the Module.
     if (profAdd)
     {
         addActivationWProfile(actv);
     }
     else
     {
         if (watch_Renamed_Field)
         {
             engine.writeMessage("=> " + actv.toPPString() + "\r\n", "t");
         }
         actv.Rule.Module.addActivation(actv);
     }
 }
Example #3
0
 /// <summary> Add an activation to the agenda.
 /// </summary>
 /// <param name="">actv
 /// 
 /// </param>
 public virtual void addActivation(IActivation actv)
 {
     // the implementation should Get the current focus from Rete
     // and then Add the activation to the Module.
     if (profAdd)
     {
         addActivationWProfile(actv);
     }
     else
     {
         if (watch_Renamed_Field)
         {
             engine.writeMessage("=> " + actv.toPPString() + "\r\n", "t");
         }
         actv.Rule.Module.addActivation(actv);
     }
 }
Example #4
0
 /// <summary> Method is called to Remove an activation from the agenda.
 /// </summary>
 /// <param name="">actv
 /// 
 /// </param>
 public virtual void removeActivation(IActivation actv)
 {
     if (profRm)
     {
         removeActivationWProfile(actv);
     }
     else
     {
         if (watch_Renamed_Field)
         {
             engine.writeMessage("<= " + actv.toPPString() + "\r\n", "t");
         }
         actv.Rule.Module.removeActivation(actv);
     }
 }