在服务器上托管的Web应用程序中读取重量机器数据 [英] Reading Weight Machine Data in web Application hosted on server.

查看:88
本文介绍了在服务器上托管的Web应用程序中读取重量机器数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从6个月开始搜索网页...

Searching the web since 6 months...

我在服务器上托管了一个Web应用程序,可以在印度的25个分支机构访问。

I have a web application hosted on server and is accessed by 25 branches in India.

这是一个典型的E-com应用程序。

It is a typical E-com application.

我的要求在于读取重量从重量机器(在客户端PC上)并显示在Web应用程序的文本框中。 。

My Requirement lies in Reading weight From weight machine (on Client PC) and display in a text box of the web application...

所有分支都有重量机器。并且他们必须扫描数据包(重量)以发送到其他分支机构进行传送。

All Branches have weight machine . And they have to in-scan Packets (weight) to send to other branches for delivery.

只需要将每个数据包放在一台重量机器上,然后单击Web应用程序数据包一个接一个地收到。

Simply the want to put each packet on by one on weight machine and on click on web application packets are received one by one.

我做了很多实验,包括阅读权重的窗口应用程序和向网络应用程序发出http请求。

I Have done a lot of experiments including a window application reading weight and the make a http request to web app .

另一方面使用缓存来保持重量和显示,但仍然无法满足客户的需求。

and on other side use caching to hold the weight and display and a lot but still not able to accomplish the client need.

任何帮助对我来说将是一线希望..

Any help will be ray of hope for me..

推荐答案

Hi PradeelSIPL,

Hi PradeelSIPL,

根据您的描述,您的问题与 asp.net/web技术更相关,为了更好地支持,请将您的问题发布到下面的asp.net论坛,因为这个论坛是d 正在讨论并询问有关.NET Framework Ba​​se
类(BCL)的问题,例如集合,I / O,Regigistry,Globalization,Reflection。

Based on your description, your question more related to asp.net/web technology and for a better support on this please post your question to the asp.net forum below, since this forum is discussing and asking questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection.

http://forums.asp.net/

此外,我还搜索了更多,这里是我找到的,跳过这些帮助。

In addition, I also searched more, here are what I found, hops these help.

从网页中的称重机读取重量[关闭]

如上所述线程所说,如果你还想使用通过com端口,请检查以下代码。

As above thread said, if you also want to use to through com port, please check the following code.

//Add the NameSpace fo serialPort

using System.Io.ports;

Write the below code in a Button Click :-

---------------------------------------

SerilaPort sp=new SerialPort();

sp.PortName="COM1";

sp.BaudRate=9600

sp.DataBits=8;

sp.Open();

textWieght.Text=sp.ReadLine().ToString();

sp.Close();

如需更多讨论,请考虑发布在
http://forums.asp.net/

For more discussion, please consider posting in  http://forums.asp.net/

祝你好运,

Kristin

Kristin


这篇关于在服务器上托管的Web应用程序中读取重量机器数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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