哪种方法最好使用Java或C#或串口通信? [英] Which approach is Best to use Java or C# or serialport communication?

查看:304
本文介绍了哪种方法最好使用Java或C#或串口通信?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我想为将通过串口进行通信的设备编写程序。我以前从未这样做过,所以我只想问哪个平台最适合这种沟通? Java或.Net(C#)?

谢谢。

Hello,
I want to write a program for a device that will communicate over the serial port. I have never done this before so I just want to ask that which platform will be best for this kind of communication? Java or the .Net (C#)?
Thank You.

推荐答案

平台选择通常是针对编程以外的外部因素完成的,例如你想在什么设备上运行?你觉得用什么?



你可以在Java和.net上做同样好的串口编程,所以选择取决于你。
Platform choices are usually done for external factors other than programming, like on what device you want to run on? what you are comfortable with?

You can do serial port programming on Java and .net equally well, so the choice is up to you.


是否计划在Windows或基于unix的服务器上托管您的应用程序?如果你有很好的C#,它将在客户端的基于Windows的服务器上托管,你可以很好地使用C#。



如果你不确定那么你可以想到Java。 Java和C#的语法非常相似,但实现方式不同。



选择是你的。
Are planning to host your application on windows or unix based server? If you have good hand in C# and it will be hosted on Windows based server at the client side, you can use C# very well.

If you are not sure then you can think of Java. Syntax for Java and C# is pretty similar but implementation differs.

Choice is yours.


这篇关于哪种方法最好使用Java或C#或串口通信?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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