Пример #1
0
 /// <summary>
 /// Creates a new parameter with the specified name, group
 /// and initial value.
 /// </summary>
 /// <param name="name">The name of this parameter</param>
 /// <param name="group">The group within which this parameter
 /// should be displayed</param>
 /// <param name="value">The initial value of the parameter</param>
 /// <param name="units">The units in which the parameter is expressed</param>
 public DoubleParameter(string name, ParameterGroup group, double value, MeasurementUnit units = null) : base(name, group, value, units)
 {
 }
Пример #2
0
 /// <summary>
 /// Creates a new parameter with the specified name, group,
 /// initial value and description.
 /// </summary>
 /// <param name="name">The name of this parameter.</param>
 /// <param name="group">The group within which this parameter
 /// should be displayed.</param>
 /// <param name="value">The initial value of the parameter.</param>
 /// <param name="description">The description of the parameter's function.</param>
 /// <param name="units">The units in which the parameter is expressed.</param>
 public IntParameter(string name, ParameterGroup group, int value, string description, MeasurementUnit units = null) : base(name, group, value, description, units)
 {
 }
Пример #3
0
 public RangedDoubleParameter(string name, ParameterGroup group, double value, string description, MeasurementUnit units = null) : base(name, group, value, description, units)
 {
 }
Пример #4
0
 public RangedDoubleParameter(string name, ParameterGroup group, double value, double min, double max, MeasurementUnit units = null) : base(name, group, value, units)
 {
     _Min = min;
     _Max = max;
 }
Пример #5
0
 public IntWithPercentParameter(string name, ParameterGroup group, int value, double percentage = 0, MeasurementUnit units = null) : base(name, group, value, units)
 {
     _Percentage = percentage;
 }
Пример #6
0
 /// <summary>
 /// Initialise a new FilePath parameter with the specified name, group and value
 /// </summary>
 /// <param name="name"></param>
 /// <param name="group"></param>
 /// <param name="value"></param>
 public FilePathParameter(string name, ParameterGroup group, FilePath value)
     : base(name, group, value)
 {
 }
Пример #7
0
 public StringParameter(string name, ParameterGroup group, string value, MeasurementUnit units = null) : base(name, group, value, units)
 {
 }