Determine whether the current device is a TFT device.
Device number.
Return True if the current device is a TFT device. Return False if the current device is a black & white device.
None
private void IsTFTMachine(string IP = "10.0.0.43", int Port = 4370, int MachineNumber = 1) { //Create Standalone SDK class dynamicly. zkemkeeper.CZKEMClass axCZKEM1 = new zkemkeeper.CZKEMClass(); axCZKEM1.Connect_Net(IP, Port); if (axCZKEM1.IsTFTMachine(MachineNumber)) { MessageBox.Show("The Device is TFT", "Success"); } else { MessageBox.Show("The Device is not TFT", "Error"); } }
Private Sub IsTFTMachine(Optional IP As String = "10.0.0.44", Optional Port As Integer = 4370, Optional MachineNumber As Integer = 1) Dim idwErrorCode As Integer = 0 'Create Standalone SDK class dynamicly. Dim axCZKEM1 As New zkemkeeper.CZKEM axCZKEM1.Connect_Net(IP, Convert.ToInt32(Port)) If (axCZKEM1.IsTFTMachine(MachineNumber)) Then MessageBox.Show("The Device is TFT", "Success") Else MessageBox.Show("The Device is not TFT", "Error") End If End Sub