简单的条形码程序 [英] simple barcode programe

查看:145
本文介绍了简单的条形码程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想编写依赖于条形码的程序,我不知道从哪里可以开始。

i want to write program that depends on barcode and i don''t know from where can i start.

推荐答案

如果你想阅读条形码,那么它非常简单:将扫描仪插入计算机。他们中的大多数都阅读了代码,并将其转换为按键,因此您无需为了使基本系统正常工作而做很多事情。



如果要打印条形码,然后它取决于你想要使用的类型,但一个简单的谷歌打印条码c#将为你提供大量的地方开始阅读。
If you want to read barcodes, then it''s pretty simple: get a scanner an plug it into your computer. Most of them read the code, and translate it into keystrokes so you don''t need to do much to get a basic system working.

If you want to print barcodes, then it depends on the type you want to use, but a simple google "print barcode c#" will get you a wealth of places to start reading.


我刚刚这样做跟踪工厂的制造过程。



我使用的扫描仪停靠在个人电脑上,并在烫发文件夹中上传到网络 - 文本文件。大多数条形码扫描仪都带有SDK,可让您设置您想要的内容。我们扫描位置,绘图和动作。扫描仪添加日期。对接后,它上传文本文件(我也配置了)。



从那里快速客户端应用程序(UI)读取文本文件并上传到数据库。我实际上并没有跟踪物理条形码本身。我根据四个独特的数据创建条形码,以保持整体的独特性。另外,我使用的是实际的图像扫描仪。整个系统大约有5000个,但正如我所说的那样是整个制造过程而不仅仅是跟踪。



所以,我会先找一个带扫描仪的扫描仪可用于自定义的SDK。我不鼓励你从扫描仪上读取,因为如果你正在处理大型过程,中间有太多因素。扫描仪功能的自定义将允许您预测错误并提示用户扫描和响应。



接下来,弄清楚您要对信息做什么你收集。你在追踪吗?盘点库存?开发用于存储的UI和数据库!



顺便说一句,有很多公司使用这种技术,可以帮助您定制扫描/上传过程处理导入和数据管理部分。
I just did this for tracking the fabrication process at a plant.

I used a scanner that docks to a pc and uploads to the network in a perm folder - text file. Most barcode scanners come with SDKs that allow you to "set" what you want. We scan a location, drawing, and action. The scanner adds the date. After docking, it uploads the text file (which I also configured).

From there a quick client application (UI) reads the text file and uploads to the database. I do not actually ever track the physical barcode itself. I created the barcode based off of four unique pieces of data to maintain uniqueness throughout. Also, I use an actual image scanner. The whole system came in around 5,000, but as I said it was for the entire fabrication process and not just tracking.

So, I would start with finding a scanner with available SDKs for your own customization. I would not encourage you to read from the scanner as there are too many factors in the middle if you are dealing with a large process. The customization of the scanner function will allow you to anticipate error and prompt the user to scan and respond.

Next, figure out what you want to do with the information that you collect. Are you tracking? counting inventory? Develop a UI and database for storage!

BTW, there are many companies that work with this type of technology and can help you by customizing the scan/upload process while you work on the import and data mgmt part.


这篇关于简单的条形码程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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