示例#1
0
 /// <summary>
 /// Action triggered when button clicked
 /// </summary>
 public void ButtonClicked()
 {
     //List<float> list = new List<float>(new float[]{ 460, 12, 420, 5 });
     //PythonFun.RunPython("pi*((dk+a)^2-(d1+2*r)^2)/4",list, "dk+a+d1+r", 6);
     VariablesList.Add(Structure.UpdateList(VariableInput, VariablesList.ToList()).Last());
     VariableInput = new Variable();
 }
示例#2
0
 public void AddVariable(double value)
 {
     VariablesList.Add(value);
 }