public ConditionContainer(Condition c1, LogicalOperator ope, Condition c2, TimeState timeState = null)
 {
     condition1   = c1;
     relationship = ope;
     condition2   = c2;
     holdingTimer = timeState;
     isSatisfied  = false;
 }
Exemplo n.º 2
0
 public Condition(Condition _c1, LogicalOperator _ope, Condition _c2, TimeState _elapsedState = null)
 {
     condition1            = _c1;
     condition2            = _c2;
     interRelationship     = _ope;
     hasMultipleConditions = true;
     holdingTimer          = _elapsedState;
 }
Exemplo n.º 3
0
 public static LogicalOperator Inverse(LogicalOperator ope)
 {
     return(Code2Operator((ope.GetCode() + 1) % 2));
 }