客户排队系统 [英] Customer Queuing System

查看:80
本文介绍了客户排队系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

马布海!代码项目团队!



我需要有关客户排队系统的帮助,类似于银行排队系统(FIFO)。我已经有了工作代码,我在vb 2010中使用了通用队列类,到目前为止它在一台机器和LED电视上用于显示客户队列。



这是场景和截图:



http://imageshack.com/a/img6/4972/kkvu.jpg [ ^ ]



1.我创建了2个表单:< br $>


Form1:在PC显示器中显示队列控制器

Form2:在LED电视中显示队列号



LED电视通过DVI-VGA连接到电脑



2.主机电脑是控制队列的计数器1。



我的问题是,如果我将另一台PC作为计数器2连接,我如何控制队列并在LED电视中输出队列?



我试图在第二台PC(计数器2)上共享程序并通过LAN访问,但队列系统根本没有任何影响。在第二台电脑上,我无法增加队列并将结果输出到LED电视。



我欢迎任何建议和推荐。



问候所有人!



Arnel

Mabuhay! Code Project Team!

I need help regarding Customer Queuing System similar to a bank queuing system (FIFO). I already have the working code, i have used the generic queue class in vb 2010 and its working so far on a single machine and a LED TV for displaying the customer queue.

Here's the scenario and screenshot:

http://imageshack.com/a/img6/4972/kkvu.jpg[^]

1. I have created 2 Forms:

Form1: Display Queue Controller in pc monitor
Form2: Display Queue number in LED TV

The LED TV is connected to a pc via DVI-VGA

2. The host pc is the counter 1 controlling the queue.

My question is, if I connect another pc as counter 2 how can I control the queue and output the queue in the LED TV?

I have tried to share the program and access via LAN on the second pc (counter 2) but the queue system has no effect at all. On the second pc I cannot increment the queue and output the result to the LED TV.

I welcome any suggestion and recommendation.

Regards to all!

Arnel

推荐答案

最有可能的方法这样做,就是让许多机器都连接到中央机器。中央机器控制电视,并存储列表,其他机器与主机交互以发出更改队列的请求。
The most likely way to do this, is to have many machines all connected to a central machine. The central machine controls the television, and stores the list, the other machines interact with the main machine to make requests to change the queue.


如果你使用队列类,它无法帮助你在不同的计算机之间进行通您需要使用一些支持网络的排队系统(中间件),例如MSMQ:

http:// en .wikipedia.org / wiki / MSMQ [ ^ ] 。



还有许多其他排队产品。



或者,您可以开发适当的网络设施靠自己。它可以在几个不同级别的网络,远程处理或WCF之一上完成。

请在我过去的解决方案中查看我对这些方法的概述:

我可以将byte []发送到其他电脑 [ ^ ],

沟通b / w LAN上的两个Windows应用程序。 [ ^ ]。



-SA
If you use a queue class, it cannot help you to communicate between different computers. You need to use some network-enabled queuing system (middleware) such as MSMQ:
http://en.wikipedia.org/wiki/MSMQ[^].

There is a number of other queuing products.

Alternatively, you can develop appropriate network facility by yourself. It can be done on one of several different levels of networking, remoting or WCF.
Please see my overview of these approaches in my past solutions:
how i can send byte[] to other pc[^],
Communication b/w two Windows applications on LAN.[^].

—SA


这篇关于客户排队系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆