SSR_GetGroupTZ

Definition

Usage

Obtain the time slots of a group.

Parameter

Number of the fingerprint device

Group number. The value ranges from 1 to 99.

Indexes of the three time slots of a specified combination. Each group number ranges from 1 to 50.

Whether holiday settings are valid.1: valid, 0: invalid

Verification mode of the fingerprint device. Values: 0(FP/PW/RF), 1(FP), 2(PIN), 3(PW), 4(RF), 5(FP&RF), 6(FP/PW), 7(FP/RF), 8(PW/RF), 9(PIN&FP), 10(FP&PW), 11(PW&RF), 12(FP&PW&RF), 13(PIN&FP&PW), 14(FP&RF/PIN)

Return Value

Return True if it is successful, or return False.

Related Function

SSR_SetGroupTZ

 

Ejemplo

C#

//Create Standalone SDK class dynamicly.
zkemkeeper.CZKEMClass axCZKEM1 = new zkemkeeper.CZKEMClass();
int iMachineNumber = 1;
axCZKEM1.Connect_Net("10.0.0.43", 4370);


int idwErrorCode = 0;

int iGroupNo = 1;
int iValidHoliday = 0;
int iVerifyStyle = 0;
int iTZ1 = 0;
int iTZ2 = 0;
int iTZ3 = 0;

string sValidHoliday  ;
string sVerifyStyle ;
string sTZ1 ;
string sTZ2 ;
string sTZ3 ;


if (axCZKEM1.SSR_GetGroupTZ(iMachineNumber, iGroupNo, ref iTZ1, ref iTZ2, ref iTZ3, ref iValidHoliday, ref iVerifyStyle))
{

    sTZ1 = iTZ1.ToString();
    sTZ2 = iTZ2.ToString();
    sTZ3 = iTZ3.ToString();
    sValidHoliday = iValidHoliday.ToString();
    sVerifyStyle = iVerifyStyle.ToString();
}
else
{
    axCZKEM1.GetLastError(ref idwErrorCode);
    MessageBox.Show("Operation failed,ErrorCode=" + idwErrorCode.ToString(), "Error");
}

VB

'Create Standalone SDK class dynamicly.
Dim axCZKEM1 As New zkemkeeper.CZKEM
Dim iMachineNumber As Integer

axCZKEM1.Connect_Net("10.0.0.43", 4370)

Dim idwErrorCode As Integer

Dim iGroupNo As Integer = 1
Dim iValidHoliday As Integer
Dim iVerifyStyle As Integer
Dim iTZ1 As Integer
Dim iTZ2 As Integer
Dim iTZ3 As Integer

Dim sValidHoliday As String
Dim sVerifyStyle As String
Dim sTZ1 As String
Dim sTZ2 As String
Dim sTZ3 As String


If axCZKEM1.SSR_GetGroupTZ(iMachineNumber, iGroupNo, iTZ1, iTZ2, iTZ3, iValidHoliday, iVerifyStyle) = True Then
    sTZ1 = iTZ1.ToString()
    sTZ2 = iTZ2.ToString()
    sTZ3 = iTZ3.ToString()
    sValidHoliday = iValidHoliday.ToString()
    sVerifyStyle = iVerifyStyle.ToString()
Else
    axCZKEM1.GetLastError(idwErrorCode)
    MsgBox("Operation failed,ErrorCode=" & idwErrorCode.ToString(), MsgBoxStyle.Exclamation, "Error")
End If