R
Reden Rodriguez
Guest
Hi I created a simple code where i can open a boom barrier. The code is fine but the problem is barrier arm doesn't lift even i push a command to the machine, my analysis is that the machine is reading the barrier arm wrong that it is not fully down or closed that's why my command stuck and the machine is not releasing it. my question is how can i bypass this door in order to open it?
try
{
zkemkeeper.CZKEM zk = new zkemkeeper.CZKEM();
bool connected = false;
int PortNo = 4370;
int machineNumber = zk.MachineNumber;
string deviceIp = string.Empty;
connected = zk.Connect_Net(ipAddress, PortNo);
if (connected)
{
if (zk.ACUnlock(machineNumber, 500))
{
MessageBox.Show("Open boom door ", "Open Boom Door", MessageBoxButtons.OK);
}
else
{
MessageBox.Show("error opening boom gate door.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
zk.Disconnect();
}
else
{
MessageBox.Show("error connecting with boom gate device. call it", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
here is the manual that i found in the google
"zkemsdkmanual_compress.pdf - Google Drive[^]"
here is the dll that i'm using
"zkemkeeper.dll - Google Drive[^]"
and here is the command that of the dll
ZK.txt - Google Drive[^]
i tried a loop command but this might harm the machine, i really don't
know if it's possible to bypass this without even satisfying this
ACUNLOCK(DOOR UNLOCK)-> DOOR UNLOCK(did not open)
ACUNLOCK(DOOR UNLOCK)-> DOOR UNLOCK(did not open)-> bypass the door-> open the door
Continue reading...
try
{
zkemkeeper.CZKEM zk = new zkemkeeper.CZKEM();
bool connected = false;
int PortNo = 4370;
int machineNumber = zk.MachineNumber;
string deviceIp = string.Empty;
connected = zk.Connect_Net(ipAddress, PortNo);
if (connected)
{
if (zk.ACUnlock(machineNumber, 500))
{
MessageBox.Show("Open boom door ", "Open Boom Door", MessageBoxButtons.OK);
}
else
{
MessageBox.Show("error opening boom gate door.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
zk.Disconnect();
}
else
{
MessageBox.Show("error connecting with boom gate device. call it", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
here is the manual that i found in the google
"zkemsdkmanual_compress.pdf - Google Drive[^]"
here is the dll that i'm using
"zkemkeeper.dll - Google Drive[^]"
and here is the command that of the dll
ZK.txt - Google Drive[^]
i tried a loop command but this might harm the machine, i really don't
know if it's possible to bypass this without even satisfying this
ACUNLOCK(DOOR UNLOCK)-> DOOR UNLOCK(did not open)
ACUNLOCK(DOOR UNLOCK)-> DOOR UNLOCK(did not open)-> bypass the door-> open the door
Continue reading...