private void btnEnableDevice_Click(object sender, EventArgs e) { bool deviceEnabled = objZkeeper.EnableDevice(1, true); InsertarEvento("El usuario " + usuario + " ha debloqueado la terminal " + marcadores[Convert.ToInt32(cmbUbicacion.SelectedIndex)].UBICACION); }
private void btnEnableDevice_Click(object sender, EventArgs e) { // This is of no use since i implemented zkemKeeper the other way bool deviceEnabled = objZkeeper.EnableDevice(int.Parse(tbxMachineNumber.Text.Trim()), true); }
private void EnableDevice(ZkemClient objZkeeper, Device device) { // This is of no use since i implemented zkemKeeper the other way bool deviceEnabled = objZkeeper.EnableDevice(int.Parse(device.DeviceId), true); }