Exemplo n.º 1
0
    public void Incrementfalsepin(String PasID)//UPDATED
    {
        HTTPget tmp        = new HTTPget();
        int     nrfalsepin = tmp.getFalsePinnr(PasID);

        nrfalsepin++;
        if (nrfalsepin < 3)
        {
            setFalsePin(PasID).Wait();
        }
        else
        {
            blockcard(PasID);
        }
    }
Exemplo n.º 2
0
    public void Incrementfalsepin(String PasID)
    {
        HTTPget tmp        = new HTTPget();
        int     nrfalsepin = tmp.getFalsePinnr(PasID);
        Pas     uploaddata = tmp.getPinclass(PasID);

        nrfalsepin++;
        if (nrfalsepin >= 3)
        {
            BlockScreen a = new BlockScreen();
            BlockCard(PasID, uploaddata).Wait();
        }
        if (nrfalsepin < 3)
        {
            incrementFalsePin(PasID, uploaddata, nrfalsepin).Wait();
        }
    }
Exemplo n.º 3
0
 public void Incrementfalsepin(String PasID)//UPDATED
 {
     HTTPget tmp = new HTTPget();
     int nrfalsepin = tmp.getFalsePinnr(PasID);
     nrfalsepin++;
     if (nrfalsepin < 3)
     {
         setFalsePin(PasID).Wait();
     }
     else
     {
         blockcard(PasID);
     }
 }