public ExpressionEnumerator(AssignmentExpression par) 
			{
				parent = par;
				nIndex = -1;
			}
Example #2
0
		public void InsertChangeStateAt(AssignmentExpression newValue, int index)
		{
			InsertDomElementAt("", "ChangeState", index, newValue);
		}
Example #3
0
		public void ReplaceChangeStateAt(AssignmentExpression newValue, int index)
		{
			ReplaceDomElementAt("", "ChangeState", index, newValue);
		}
Example #4
0
		public void AddChangeState(AssignmentExpression newValue)
		{
			AppendDomElement("", "ChangeState", newValue);
		}
Example #5
0
 public void ReplaceChangeStateAt(AssignmentExpression newValue, int index)
 {
     ReplaceDomElementAt("", "ChangeState", index, newValue);
 }
Example #6
0
 public void InsertChangeStateAt(AssignmentExpression newValue, int index)
 {
     InsertDomElementAt("", "ChangeState", index, newValue);
 }
Example #7
0
 public void AddChangeState(AssignmentExpression newValue)
 {
     AppendDomElement("", "ChangeState", newValue);
 }
Example #8
0
		public XMLRules.ActionType MakeStateChangeAction(string name, AiRuleEngine.VariableType type, ArithmeticExpression value)
		{
			XMLRules.ActionType action = new XMLRules.ActionType();
			AssignmentExpression assignment = new AssignmentExpression();
			assignment.AddVariable(MakeVariable(name, type).GetVariable());
			assignment.AddExpression(value);
			
			action.AddCertainty(new Altova.Types.SchemaDecimal(100));
			action.AddChangeState(assignment);
			
			return action;
		}