Пример #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);
        }
    }
Пример #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();
        }
    }
Пример #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);
     }
 }