应用程序远程处理

编程入门 行业动态 更新时间:2024-10-11 07:30:33
本文介绍了应用程序远程处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个应用程序,可以在作为触摸屏的监视器上充当自助服务终端应用程序.简而言之,此应用程序有很多按钮.每个按钮对应一个在门上方带有灯的房间.该按钮用作开/关开关.还有另外四个具有相同应用程序的触摸显示器.该按钮的正常状态为绿色.当按下按钮时,它变成红色.再次按下时,它变成绿色. 我希望所有监视器都显示相同的信息.如果我按下房间100的开/关按钮,我希望看到所有四个监视器上按下的按钮的状态相同.如果按钮为红色,我想在所有监视器上看到相同的状态. 我看过Net Remoting( www.bearcanyon/dotnet/#remoting [ ^ ]) 这似乎是正确的路径,但是我找不到有关如何编译dll来处理触发事件的多个请求的任何信息.似乎更多的是客户端/服务器关系,而不是我正在寻找的对等设置. 任何帮助将不胜感激.

I have an application that acts as a kiosk application on a monitor that is a touchscreen. Simply stated this application has a bunch of buttons. Each button corresponds to a room with a light above the door. The button acts as an on/off switch. There are four other touch monitors with this same application. The normal state of the button is green. When the button is pressed it turns red. When it is pressed again it turns green. I would like for all monitors to show the same information. If I press on the On/Off button for room 100 I would like to see the same state of the button pressed on all four monitors. If the button is red I want to see the same state on all monitors. I have looked at Net Remoting (www.bearcanyon/dotnet/#remoting[^]) and this seems like the right path but I cannot find any information on how to compile the dll to handle multiple requests for a trigger event. It seems to be more of a client/server relationship as opposed to a peer to peer setup that I am looking for. Any help would be greatly appreciated.

推荐答案

在这种情况下,我将有一个控制器,也许在服务器上,或者它可能是其中一台机器,每台机器都订阅到.更新将发布到控制器,控制器将当前状态通知所有订阅者. For this scenario I would have a controller, perhaps on a server, or it could be one of the machines, that each subscribe to. The updates are posted to the controller which notifies all subscribers of the current status.

更多推荐

应用程序远程处理

本文发布于:2023-11-25 05:59:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1628597.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!