HandleClockCardEvent (Opus Funktion)

HandleClockCardEvent (Opus Funktion)

Beschreibung

Processes a clock-card reader event for the given card ID and timestamp. Returns coming/leaving flags and optionally the address ID and name of the identified person.

Argumente

Name

Typ

Beschreibung

Name

Typ

Beschreibung

 CardID

integer

numeric card identifier read from the clock-card reader

 Timestamp

datetime

date and time at which the card event occurred

 InterfaceID

integer

ID of the clock-card interface that triggered the event

 &IsComing

integer

output:
1 if the event is a check-in (coming)
0 otherwise

&IsLeaving

integer

output:
1 if the event is a check-out (leaving)
0 otherwise

&AddressID

integer

(optional) output:
address ID of the person identified by the card

&PersonName

string

(optional) output:
full name of the person identified by the card

Rückgabewert integer

result code of the card event processing; 0 = success

Beispiel

xxx

xxx

Siehe auch

---