caf é net management system … prepared by : shereen atallah shereen atallah elham al_yaseen elham...

17
Café Net Management Café Net Management System… System… Prepared By : Prepared By : Shereen Atallah Shereen Atallah Elham AL_Yaseen Elham AL_Yaseen

Upload: braden-highsmith

Post on 31-Mar-2015

223 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Caf é Net Management System … Prepared By : Shereen Atallah Shereen Atallah Elham AL_Yaseen Elham AL_Yaseen

Café Net Management Café Net Management System…System…

Prepared By :Prepared By :

Shereen AtallahShereen Atallah

Elham AL_YaseenElham AL_Yaseen

Page 2: Caf é Net Management System … Prepared By : Shereen Atallah Shereen Atallah Elham AL_Yaseen Elham AL_Yaseen

Our project is Café Net Management Our project is Café Net Management System based on client server System based on client server application, using Microsoft application, using Microsoft Foundation Classes (MFC) dialog Foundation Classes (MFC) dialog based application , that supports based application , that supports TCP/IP socketsTCP/IP sockets..

Management of café net requires server Management of café net requires server program to control clientsprogram to control clients..

We need to handle communication We need to handle communication between server & clientsbetween server & clients..

Page 3: Caf é Net Management System … Prepared By : Shereen Atallah Shereen Atallah Elham AL_Yaseen Elham AL_Yaseen

Server waiting for clients to connect

Clients

Server a

ccept th

e

conn

ectio

n

Client tr

y to co

nnect

by sending aso

cket

Page 4: Caf é Net Management System … Prepared By : Shereen Atallah Shereen Atallah Elham AL_Yaseen Elham AL_Yaseen

Server program will look like thisServer program will look like this: :

Host information

CtrlList to view

clients & there status

Chat program

Page 5: Caf é Net Management System … Prepared By : Shereen Atallah Shereen Atallah Elham AL_Yaseen Elham AL_Yaseen

When any client connects to server an icon will appear, this icon has it’s color telling it’s current status :

Green icon means login client

Red icon means shutdown client

Blue icon means logout client

Page 6: Caf é Net Management System … Prepared By : Shereen Atallah Shereen Atallah Elham AL_Yaseen Elham AL_Yaseen

To add user

To add random users

To view all users

Users menu is for handling tickets

Page 7: Caf é Net Management System … Prepared By : Shereen Atallah Shereen Atallah Elham AL_Yaseen Elham AL_Yaseen

View menu to view clientsView menu to view clients

Page 8: Caf é Net Management System … Prepared By : Shereen Atallah Shereen Atallah Elham AL_Yaseen Elham AL_Yaseen

Command menu allows server control clients

Select the command you want, if you choose to lock PC this will change it’s icon to blue

If you want to shutdown any PC this will change it’s icon to red

unlock PC will change the color to green.

Page 9: Caf é Net Management System … Prepared By : Shereen Atallah Shereen Atallah Elham AL_Yaseen Elham AL_Yaseen

Print menu will print all tickets with times greater than zero

Tickets will look like this:

Page 10: Caf é Net Management System … Prepared By : Shereen Atallah Shereen Atallah Elham AL_Yaseen Elham AL_Yaseen

::

Orders menu provide services to clients

Add orders :add anew service to clients with it’s price and this will appear to all clients

If client selects an order this will appear

To view orders

To update orders

Page 11: Caf é Net Management System … Prepared By : Shereen Atallah Shereen Atallah Elham AL_Yaseen Elham AL_Yaseen

Configuration menu to change the port of server so Configuration menu to change the port of server so clicking on this menu will give the following dialogclicking on this menu will give the following dialog

Change the listening port here but this change won’t take an effect until you restart the server

So you will see this dialog:

Page 12: Caf é Net Management System … Prepared By : Shereen Atallah Shereen Atallah Elham AL_Yaseen Elham AL_Yaseen

Address book to add contacts and retrieve any information about them:

To fill the appropriate information we have this dialog.

To view contacts and retrieve any information about them

Page 13: Caf é Net Management System … Prepared By : Shereen Atallah Shereen Atallah Elham AL_Yaseen Elham AL_Yaseen

Accessories menu give some additional facilities to server :

Notepad to Notepad to add notesadd notes..

Command to add command

Calculator

Page 14: Caf é Net Management System … Prepared By : Shereen Atallah Shereen Atallah Elham AL_Yaseen Elham AL_Yaseen

Now we are to talk about client program which must run at startup:All pc’s must be locked with the lock screen.Locking pc need locking all hock keys by hock driver.

Press on any key will submit from you to enter valid username password then you can login.

Inserting invalid username & password will give the following dialog:

Page 15: Caf é Net Management System … Prepared By : Shereen Atallah Shereen Atallah Elham AL_Yaseen Elham AL_Yaseen

Client program will look like this :

Chat program

To display the remaining time for customer to logout

To view the current orders & there

costs

Page 16: Caf é Net Management System … Prepared By : Shereen Atallah Shereen Atallah Elham AL_Yaseen Elham AL_Yaseen

To submit order select what do you want from current orders then click order you will see this dialog:

If the time of the client becomes less than five minutes then a warning message will appear:

Page 17: Caf é Net Management System … Prepared By : Shereen Atallah Shereen Atallah Elham AL_Yaseen Elham AL_Yaseen

You can hide this dialog by clicking on hide button :

This will make the dialog iconic & will appear as this:

This icon has the menu show to show the dialog again.

If the client wants to logout.