public bool CreateData(string name, CalData value)
        {
            bool right = true;

            if (name != "pi" && name != "e")
            {
                inputs.Add(new TempData(name, value));
            }
            else
            {
                right = false;
            }
            return(right);
        }
Beispiel #2
0
 public TempData(string name, CalData value)
 {
     this.Name  = name;
     this.Value = value;
 }
Beispiel #3
0
 public void SetValue(CalData value)
 {
     this.Value = value;
 }