FZ_PanDAForm.SetupUnit
Performs a setting operation of a processing unit (starts a setting UI)
Public Function SetupUnit( _
ByVal unitNo As Integer _
ByVal operateMode As Integer _
) As Integer
Parameters
unitNo
|
Processing unit number for which a setting operation is performed
|
Input
|
opereteMode
|
Startup mode
0: Performs the setting operation at the normal state
1: Performs the setting operation under the simplified non-stop
|
Input
|
Return Value
Returns 0 when the setting operation of the processing unit succeeded.
Otherwise returns a non-zero value.
Description
Performs the setting operation of the specified processing unit.
Example
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
' Performs the setting operation for the unit number 0 (under the normal state)
SetupUnit(0, 0)
End Sub