Пример #1
0
        } // end of AddRequest

        #endregion

        #region RemoveRequest

        /// <summary>
        /// Removes a request from the RAEL list. Sets also behavior occured flag of the control unit to true, means rule execution is required.
        /// </summary>
        /// <param name="req">Request to remove</param>
        virtual public void RemoveRequest(ActivityRequest req)
        {
            _rael.Remove(req);
            _behaviorOccured = true;
        } // end of RemoveRequest
Пример #2
0
        } // end of RAEL

        #endregion

        #region AddRequest

        /// <summary>
        /// Adds a request to the RAEL list. Sets also behavior occured flag of the control unit to true, means rule execution is required.
        /// </summary>
        /// <param name="req">Request to add</param>
        virtual public void AddRequest(ActivityRequest req)
        {
            _rael.Add(req);
            _behaviorOccured = true;
        } // end of AddRequest