Beispiel #1
0
 protected void UnSetBoolParam(BoolStatus type)
 {
     if (boolParams.ContainsKey(type))
     {
         boolParams.Remove(type);
     }
 }
Beispiel #2
0
 protected void SetBoolParam(BoolStatus type, bool value, int priority)
 {
     if (!boolParams.ContainsKey(type))
     {
         boolParams.Add(type, new BoolParam(type, value, priority));
     }
     else
     {
         boolParams[type] = new BoolParam(type, value, priority);
     }
 }
Beispiel #3
0
 public bool GetValue(BoolStatus type)
 {
     return(BoolStatus[(int)type]);
 }
Beispiel #4
0
 public BoolParam(BoolStatus type, bool value, int priority)
 {
     Type     = type;
     Value    = value;
     Priority = priority;
 }