ParamInputInfo Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
Line 14: Line 14:


== Usage Example ==
== Usage Example ==
  {{APIComment|'Creates a new ParamInputInfo.}}
{{APIComment|'Creates a new ParamInputInfo.}}
   Dim MyParamInput As New ParamInputInfo("Param1", 0, 10, False, True)
   Dim MyParamInput As New ParamInputInfo("Param1", 0, 10, False, True)
    
    
  {{APIComment|'Change the parameter Value.}}
{{APIComment|'Change the parameter Value.}}
   MyParamInput.Value = 500
   MyParamInput.Value = 500

Revision as of 00:12, 18 April 2014


Used with WeibullEvents.GetDistrParameters to enter customized model parameters.

Constructors

  • ParamInputInfo Creates a new ParamInputInfo object.

Properties

  • Name (as string) Gets or sets the parameter name.
  • Value (as double) Gets or sets the parameter value.
  • Min (as double) Gets or sets the minimum parameter value that will be accepted.
  • Max (as double) Gets or sets the maximum parameter value that will be accepted.
  • CanEqualMin (as boolean) Gets or sets whether the entered value can equal the Min.
  • CanEqualMax (as boolean) Gets or sets 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