ParamInputInfo Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
== Properties ==
== Properties ==
*Name (as ''string'') {{APIComment|Sets or gets the parameter name.}}
*Name (as ''string'') {{APIComment|Sets or gets the parameter name.}}
*Value (as ''double'') {{APIComment|Sets or gets the parameter value.}}
*Min (as ''double'') {{APIComment|Sets or gets the minimum parameter value that will be accepted.}}
*Min (as ''double'') {{APIComment|Sets or gets the minimum parameter value that will be accepted.}}
*Max (as ''double'') {{APIComment|Sets or gets the maximum parameter value that will be accepted.}}
*Max (as ''double'') {{APIComment|Sets or gets the maximum parameter value that will be accepted.}}
*CanEqualMin (as ''boolean'') {{APIComment|Sets or gets whether the entered value can equal the Min.}}
*CanEqualMin (as ''boolean'') {{APIComment|Sets or gets whether the entered value can equal the Min.}}
*CanEqualMax (as ''boolean'') {{APIComment|Sets or gets whether the entered value can equal the Max.}}
*CanEqualMax (as ''boolean'') {{APIComment|Sets or gets whether the entered value can equal the Max.}}
*Value (as ''double'') {{APIComment|Sets or gets the default parameter value.}}


== Usage Example ==
== Usage Example ==

Revision as of 17:07, 11 March 2014


Used with WeibullEvents.GetDistrParameters to enter customized model parameters.

Constructors

  • ParamInputInfo Creates a new ParamInputInfo object.

Properties

  • Name (as string) Sets or gets the parameter name.
  • Value (as double) Sets or gets the parameter value.
  • Min (as double) Sets or gets the minimum parameter value that will be accepted.
  • Max (as double) Sets or gets the maximum parameter value that will be accepted.
  • CanEqualMin (as boolean) Sets or gets whether the entered value can equal the Min.
  • CanEqualMax (as boolean) Sets or gets whether the entered value can equal the Max.

Usage Example

Creates a new ParamInputInfo.

       Dim MyParamInput As New ParamInputInfo("Param1", 0, 10, False, True)

Change the parameter Value.

       MyParamInput.Value = 500