Home > Software engineering >  How to use VB to design a simple rfid attendance software
How to use VB to design a simple rfid attendance software

Time:11-30

With an id card, via a serial port for the first time to brush on behalf of the work, the second brush representative work, through software card id number and a time to work, go off work time

CodePudding user response:

CodePudding user response:

Never make, understand people can talk about

CodePudding user response:

Baidu search relevant keywords,

CodePudding user response:

Really want to be a practical system of check on work attendance, is actually quite complicated,

Will do if merely record card reader incident response (typically ID CARDS is equivalent to the keyboard) and write to a database table,

You set a time limit, after credit card are written to the work time field; To set a time limit, from work after this card are written to the field work time,

CodePudding user response:

Real attendance system, database only simply keep track of all of your credit card, credit card don't do analysis, only save the card number and charge time, this is to allow employees to have a quick charge, also in order to allow temporary adjustment management statistics report before the end of the flight, ask for leave, overtime, and so on information,

To achieve attendance, interface requires the administrator to set aside attendance rules, such as when someone (the number card number) shall be in before the credit card to work, when it first started late, when to go off work, when to leave early, and how to deal with leave, overtime, etc.,

Shift work, if any, to someone's attendance set points time even more rules,

Therefore, we need to have units, divisions, and so on many table association rules to simplify the input,

Then, there is a statistical features of the month, according to the rules of the analysis of credit card records, there are exquisite, be allowed to charge time to work, take charge of the last time for many times; Be allowed to charge time from work, take charge of the first time... , etc., and so on, everyone is given the full month of statistics, attendance, leave, work overtime, late, leave early, miners...

CodePudding user response:

reference 5 floor of123 reply:
real attendance system, the database only simply keep track of all of your credit card, or credit card without doing analysis, only save the card number and charge time, this is to allow employees to have a quick charge, also in order to allow temporary adjustment management statistics report before the end of the flight, ask for leave, overtime, and so on information,

To achieve attendance, interface requires the administrator to set aside attendance rules, such as when someone (the number card number) shall be in before the credit card to work, when it first started late, when to go off work, when to leave early, and how to deal with leave, overtime, etc.,

Shift work, if any, to someone's attendance set points time even more rules,

Therefore, we need to have units, divisions, and so on many table association rules to simplify the input,

Then, there is a statistical features of the month, according to the rules of the analysis of credit card records, there are exquisite, be allowed to charge time to work, take charge of the last time for many times; Be allowed to charge time from work, take charge of the first time... , etc., and so on, everyone is given the full month of statistics, attendance, leave, work overtime, late, leave early, miners...

That's true, but our request is to use a ready-made card reader, RFID card, USB connected to the PC, then on the VB by MSComm read the card number shown in the text box, card number 95 92 1 D7 d like this, for example,

CodePudding user response:

At the moment the following code or through credit card
 Option Explicit 

Private Sub Command1_Click ()
Dim number As Integer
Dim outbyte (0) As Byte
Number=Val (Text1. Text)
Outbyte (0)=CByte (number)
MSComm1. OutBufferCount=0
MSComm1. The Output=outbyte

End Sub


Private Sub Form_Load ()
MPort=3
MSComm1.ComMSComm1. Settings="9600, N, 8, 1", "
MSComm1. EOFEnable=True
MSComm1. RThreshold=1
MSComm1. InputLen=0
MSComm1. PortOpen=True
MSComm1. InBufferCount=0


End Sub

Private Sub MSComm1_OnComm ()
Dim indata As the Variant
Dim arr (0) As Byte
Select Case mEvent MSComm1.Com
Case commEvReceive
Indata=https://bbs.csdn.net/topics/MSComm1.Input
Arr (0)=AscB (indata)
Text1. Text=arr (0)
MSComm1. InBufferCount=0
End the Select


End Sub

CodePudding user response:

Universal answer:
to supplier provide sample!
Do you pay for the hardware still don't service, silly!

CodePudding user response:

This is a bit complicated

CodePudding user response:

Are now popular app attendance clock in, also with the geographical position,

CodePudding user response:

This style of design is a problem for certain, for example:
Employees played CARDS, forget, again to play CARDS, calculate work?
Clock in appear multiple times in a day?
Work forget to clock in, punch out, count work time from work?
=======================================
In software design, to fully consider the possible situations, and puts forward the strategy,

CodePudding user response:

Rfid should have ready-made development kit, it is ok to call on request,
Clock in directly have to do is throw database

Clock punch out how do you judge be late or leave early? So I have to have a frequency table and the corresponding

One day didn't punch because rest or because absenteeism? So I have to have a roaster

Someone at 2 a.m. clock is calculate or calculate the day to work overtime today?

And so on all kinds of situation to think big!

So the original poster you want to too simple

CodePudding user response:

references to the tenth floor sysdzw response:
are now popular app attendance clock in, also with the geographical position,


Positioning punching aren't readily available, because there is error, but also because we can not prevent the generation of clock in

Now is a clock in face recognition, the door - recognition - complete the punch

CodePudding user response:

The
reference 13 floor shiguangxin reply:
Quote: reference to the tenth floor sysdzw response:

Are now popular app attendance clock in, also with the geographical position,


Positioning punching aren't readily available, because there is error, but also because we can not prevent the generation of clock in

Are now clock in face recognition, the door - recognition - complete clock


The
reference 13 floor shiguangxin reply:
Quote: reference to the tenth floor sysdzw response:

Are now popular app attendance clock in, also with the geographical position,


Positioning punching aren't readily available, because there is error, but also because we can not prevent the generation of clock in

Are now clock in face recognition, the door - recognition - complete clock


I speak with a human face attendance machine is not a concept, identity is completely automatic, for identified people completely is non-inductive,

CodePudding user response:

Another year to finish set time

CodePudding user response:

Can use hyperterminal tool can actually read serial data, the rest is writing code,

CodePudding user response:

"There are exquisite, be allowed to charge time to work, many credit card in the last time; Be allowed to charge time from work, take charge of the first time... Wait, wait, "
This is a clear bias in favor of capitalist, extremely use up to exploitation of the working class! Marx does not allow!!!!!

CodePudding user response:

First to understand, is you met the problem card read or read card attendance logic problems later,
This title 20 characters, said to do something small can is very small, said big can be very big

CodePudding user response:

In different classes and different other problemsnullnull
  • Related