Beispiel #1
0
 public ParameterAngle CreateAngleParameter(string name, string description, double valueDefault, double valueMin, double valueMax)
 {
     UpdatedStack.AddAngleParameter(name, description
                                    , _stackIn.HasParameter(name) ? _stackIn.GetAngleParameterValue(name): valueDefault
                                    , valueMin, valueMax);
     return(UpdatedStack.GetParameterByName(name) as ParameterAngle);
 }
Beispiel #2
0
 public ParameterInt CreateIntParameter(string name, string description, int valueDefault, bool hasMinValue, int minValue, bool hasMaxValue, int maxValue)
 {
     UpdatedStack.AddIntParameter(name, description
                                  , _stackIn.HasParameter(name) ? _stackIn.GetIntParameterValue(name) : valueDefault
                                  , hasMinValue, minValue, hasMaxValue, maxValue);
     return(UpdatedStack.GetParameterByName(name) as ParameterInt);
 }
Beispiel #3
0
 public ParameterDouble CreateDoubleParameter(string name, string description, double valueDefault, bool hasMinValue, double valueMin, bool hasMaxValue, double valueMax)
 {
     UpdatedStack.AddDoubleParameter(name, description
                                     , _stackIn.HasParameter(name) ? _stackIn.GetDoubleParameterValue(name) : valueDefault
                                     , hasMinValue, valueMin, hasMaxValue, valueMax);
     return(UpdatedStack.GetParameterByName(name) as ParameterDouble);
 }
Beispiel #4
0
 public int GetMultiParameterValue(string name)
 {
     return(UpdatedStack.GetMultiParameterValue(name));
 }
Beispiel #5
0
 public bool GetBoolParameterValue(string name)
 {
     return(UpdatedStack.GetBoolParameterValue(name));
 }
Beispiel #6
0
 public double GetDoubleParameterValue(string name)
 {
     return(UpdatedStack.GetDoubleParameterValue(name));
 }
Beispiel #7
0
 public ParameterMulti CreateMultiParameter(string name, string description, string[] displayList, string[] valueList, int valueDefault)
 {
     UpdatedStack.AddMultiParameter(name, description, displayList, valueList
                                    , _stackIn.HasParameter(name) ? _stackIn.GetMultiParameterValue(name) : valueDefault);
     return(UpdatedStack.GetParameterByName(name) as ParameterMulti);
 }
Beispiel #8
0
 public ParameterBool CreateBoolParameter(string name, string description, bool valueDefault)
 {
     UpdatedStack.AddBoolParameter(name, description
                                   , _stackIn.HasParameter(name) ? _stackIn.GetBoolParameterValue(name) : valueDefault);
     return(UpdatedStack.GetParameterByName(name) as ParameterBool);
 }