Click here to Skip to main content
15,887,436 members
Home / Discussions / C#
   

C#

 
GeneralRe: Creating Point-of-Sale with integrated Kitchen Display System Pin
jschell30-Jan-12 8:46
jschell30-Jan-12 8:46 
AnswerRe: Creating Point-of-Sale with integrated Kitchen Display System Pin
Mycroft Holmes29-Jan-12 21:26
professionalMycroft Holmes29-Jan-12 21:26 
GeneralRe: Creating Point-of-Sale with integrated Kitchen Display System Pin
Member 860554330-Jan-12 0:40
Member 860554330-Jan-12 0:40 
GeneralRe: Creating Point-of-Sale with integrated Kitchen Display System Pin
Dave Kreskowiak30-Jan-12 2:12
mveDave Kreskowiak30-Jan-12 2:12 
GeneralRe: Creating Point-of-Sale with integrated Kitchen Display System Pin
Member 860554330-Jan-12 3:17
Member 860554330-Jan-12 3:17 
GeneralRe: Creating Point-of-Sale with integrated Kitchen Display System Pin
Pete O'Hanlon30-Jan-12 3:33
mvePete O'Hanlon30-Jan-12 3:33 
GeneralRe: Creating Point-of-Sale with integrated Kitchen Display System Pin
jschell30-Jan-12 8:52
jschell30-Jan-12 8:52 
AnswerRe: Creating Point-of-Sale with integrated Kitchen Display System Pin
BobJanova31-Jan-12 1:01
BobJanova31-Jan-12 1:01 
I'm going to disagree with almost everyone else and say that you want to do this with sockets, albeit with the central server storing information in a database for audit/recovery reasons. That's because polling is almost always an inferior solution (you're transferring, at best, the same data, and generally the same data plus a large number of empty poll requests, while having a slower response time), and not necessary in this case.

The data recovery scenarios are:
- POS down: everything has to be manual anyway, in either case
- Server down: ditto
- KDS down: this is the one you have to worry about

The server should be in primary control of the data. The POS and KDS software should both keep a socket open to it, assuming you're running on hardware that can do that (unless you have 1000 tills you should be fine; if not, you might need to use a different approach, i.e. fire-and-forget web service calls for POS->server).

When you make an order, the POS should send messages to the server: make an order, order paid for, order modified (if applicable), and allow the front desk staff to post notes to a particular order. When an order is ready (I guess this is when it's made for a fast food place) the server should, as well as writing to its local data store (which it should do with every order status update for tracking purposes), also push a message to the KDS to add an item to its queue. When the kitchen finishes with an order they should be able to select the order on the KDS and that will cause a status update message to go back to the server, which the server will then forward to the appropriate till (if you want the information there).

If the kitchen rejects an order (for example if they're out of some ingredient), that should also be sent back to the till that sent it.

Data recovery: if the server goes down, you're fairly screwed, so make sure it has a UPS and safe shutdown mechanics. If the server loses connection with the KDS, or the KDS goes down and needs rebooting, it needs a special request it can send to the server to get the full list of things which should be on its queue (i.e. all orders which were 'in progress' the last time the server knew about it).
GeneralRe: Creating Point-of-Sale with integrated Kitchen Display System Pin
jschell31-Jan-12 8:33
jschell31-Jan-12 8:33 
GeneralRe: Creating Point-of-Sale with integrated Kitchen Display System Pin
BobJanova31-Jan-12 12:38
BobJanova31-Jan-12 12:38 
GeneralRe: Creating Point-of-Sale with integrated Kitchen Display System Pin
jschell31-Jan-12 13:59
jschell31-Jan-12 13:59 
QuestionC# UnauthorizedAccessException Pin
Habekeinen29-Jan-12 2:08
Habekeinen29-Jan-12 2:08 
AnswerRe: C# UnauthorizedAccessException Pin
OriginalGriff29-Jan-12 3:02
mveOriginalGriff29-Jan-12 3:02 
GeneralRe: C# UnauthorizedAccessException Pin
Habekeinen29-Jan-12 3:49
Habekeinen29-Jan-12 3:49 
GeneralRe: C# UnauthorizedAccessException Pin
OriginalGriff29-Jan-12 3:53
mveOriginalGriff29-Jan-12 3:53 
AnswerRe: C# UnauthorizedAccessException Pin
Abhinav S29-Jan-12 19:04
Abhinav S29-Jan-12 19:04 
AnswerRe: C# UnauthorizedAccessException Pin
Bernhard Hiller29-Jan-12 20:44
Bernhard Hiller29-Jan-12 20:44 
QuestionQuestion about Chart in C# Pin
pongpanut28-Jan-12 20:31
pongpanut28-Jan-12 20:31 
AnswerRe: Question about Chart in C# PinPopular
OriginalGriff28-Jan-12 21:06
mveOriginalGriff28-Jan-12 21:06 
GeneralRe: Question about Chart in C# Pin
pongpanut28-Jan-12 21:47
pongpanut28-Jan-12 21:47 
GeneralRe: Question about Chart in C# Pin
OriginalGriff28-Jan-12 21:49
mveOriginalGriff28-Jan-12 21:49 
GeneralRe: Question about Chart in C# Pin
pongpanut28-Jan-12 22:20
pongpanut28-Jan-12 22:20 
AnswerRe: Question about Chart in C# Pin
Luc Pattyn28-Jan-12 22:38
sitebuilderLuc Pattyn28-Jan-12 22:38 
GeneralRe: Question about Chart in C# Pin
pongpanut29-Jan-12 0:10
pongpanut29-Jan-12 0:10 
GeneralRe: Question about Chart in C# Pin
OriginalGriff28-Jan-12 23:08
mveOriginalGriff28-Jan-12 23:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.