4

小白请教一下上位机开发的多协议问题.

 2 years ago
source link: https://www.v2ex.com/t/855974
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  C#

小白请教一下上位机开发的多协议问题.

  peitaobest · 5 小时 14 分钟前 · 185 次点击

目前项目是多机(30 台)左右设备不同功能的设备,需要进行集中在桌面端(C 端)控制,目前准备用 C# WINFROM 进行开发,遇到的是问题是有 A,B,C,D,E,F,G 等不低于 7 种的私有通讯协议,需要进行封装,那么在添加设备进行控制的时候如何进行关联设备呢?

目前我的想法:

就是把各种私有协议进行封装, 把各个类型的设备进行封装 在添加设备的时候根据设备进行选择对应的协议

各位大神有没有其他更优的办法,可以解决这个问题的呀.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK