WeibullDataSet.GetDistrParameters: Difference between revisions
John Leavitt (talk | contribs) No edit summary |
Albert Szeto (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Template:AWEAPIClass}} | {{Template:AWEAPIClass}} | ||
Displays a prompt for customized parameters. | |||
== Weibull Declaration == | == Weibull Declaration == | ||
Line 8: | Line 10: | ||
{{APIName|sender}} | {{APIName|sender}} | ||
{{APIPrefix|As}} | {{APIPrefix|As}} | ||
{{APIName|WeibullDataSet, | {{APIName|WeibullDataSet,}} | ||
{{APIPrefix|ByVal}} | {{APIPrefix|ByVal}} | ||
{{APIName|sMsg | {{APIName|sMsg}} | ||
{{APIPrefix|As String}} | {{APIPrefix|As String}} | ||
{{APIName|,}} | {{APIName|,}} | ||
Line 37: | Line 39: | ||
{{APIName|sender}} | {{APIName|sender}} | ||
{{APIPrefix|As}} | {{APIPrefix|As}} | ||
{{APIName|ALTADataSet, | {{APIName|ALTADataSet,}} | ||
{{APIPrefix|ByVal}} | {{APIPrefix|ByVal}} | ||
{{APIName|sMsg | {{APIName|sMsg}} | ||
{{APIPrefix|As String}} | {{APIPrefix|As String}} | ||
{{APIName|,}} | {{APIName|,}} | ||
Line 58: | Line 60: | ||
{{APIComment|Called by ‘sender’ when additional input is required.}} | {{APIComment|Called by ‘sender’ when additional input is required.}} | ||
== Parameters == | |||
'''sender''' | |||
An WeibullDataSet object | |||
'''sMsg''' | |||
The main display label. | |||
'''GetOnlyOneParameter''' | |||
Prompt for only one parameter | |||
'''Params''' | |||
A list of Parameter input information classes, ParamInputInfo, that would be updated by this prompt. | |||
'''ParamInputInfo Class | |||
Public Name As String | |||
Public Min As Double | |||
Public Max As Double | |||
Public CanEqualMin As Boolean | |||
Public CanEqualMax As Boolean | |||
Public Value As Double | |||
'''ParamInputInfo Declaration | |||
New(ByVal Name As String, ByVal Min As Double, ByVal Max As Double, ByVal CanEqualMin As Boolean, ByVal CanEqualMax As Boolean) | |||
'''Cancel''' | |||
If the prompt was closed by any means other than clicking the "Okay", this value would be set to True. |
Revision as of 23:16, 10 September 2013
Displays a prompt for customized parameters.
Weibull Declaration
Public Overridable Sub GetDistrParameters( ByVal sender As WeibullDataSet, ByVal sMsg As String , ByVal GetOnlyOneParameter As Boolean , ByVal Params As List( Of ParamInputInfo), ByRef Cancel As Boolean )
Called by ‘sender’ when additional input is required.
ALTA Declaration
Public Overridable Sub GetDistrParameters( ByVal sender As ALTADataSet, ByVal sMsg As String , ByVal GetOnlyOneParameter As Boolean , ByVal Params As List( Of ParamInputInfo), ByRef Cancel As Boolean )
Called by ‘sender’ when additional input is required.
Parameters
sender An WeibullDataSet object
sMsg The main display label.
GetOnlyOneParameter Prompt for only one parameter
Params A list of Parameter input information classes, ParamInputInfo, that would be updated by this prompt.
ParamInputInfo Class Public Name As String Public Min As Double Public Max As Double Public CanEqualMin As Boolean Public CanEqualMax As Boolean Public Value As Double ParamInputInfo Declaration New(ByVal Name As String, ByVal Min As Double, ByVal Max As Double, ByVal CanEqualMin As Boolean, ByVal CanEqualMax As Boolean)
Cancel If the prompt was closed by any means other than clicking the "Okay", this value would be set to True.