예제 #1
0
 /// <summary>
 /// set the input variable name to all input variables
 /// </summary>
 /// <param name="name"></param>
 public override void SetInputName(string name, DataTypePointer type)
 {
     if (_actionList != null)
     {
         for (int k = 0; k < _actionList.Count; k++)
         {
             AB_SingleAction.ActionSetInputName(_actionList[k].Action, name, type);
         }
     }
 }
예제 #2
0
 /// <summary>
 /// set the input variable name to all input variables
 /// </summary>
 /// <param name="name"></param>
 public override void SetInputName(string name, DataTypePointer type)
 {
     if (_decisionTable != null)
     {
         for (int i = 0; i < _decisionTable.ConditionCount; i++)
         {
             _decisionTable[i].Condition.SetActionInputName(name, type.BaseClassType);
             if (_decisionTable[i].Actions != null)
             {
                 for (int k = 0; k < _decisionTable[i].Actions.Count; k++)
                 {
                     AB_SingleAction.ActionSetInputName(_decisionTable[i].Actions[k].Action, name, type);
                 }
             }
         }
     }
 }