public void SubtractFromCurrentValue(VarTime aValue)
 {
     CurrentValue -= aValue.CurrentValue;
     if (CurrentValue <= 0)
     {
         CurrentValue = 0;
     }
 }
 //-- Current Value VarTime
 public void SetCurrentValue(VarTime aValue)
 {
     CurrentValue = aValue.CurrentValue;
     if (CurrentValue <= 0)
     {
         CurrentValue = 0;
     }
 }
 public void AddToCurrentValue1000(VarTime aValue)
 {
     CurrentValue += aValue.CurrentValue * 1000;
 }
 public void AddToCurrentValue(VarTime aValue)
 {
     CurrentValue += aValue.CurrentValue;
 }
Пример #5
0
 public void SetSessionValue(VarTime aValue)
 {
     SessionValue.CurrentValue = aValue.CurrentValue;
 }