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

问题描述

限时删除!!

问候,



我正在创建条形码应用程序,当我谷歌知道条形码时,我发现了一些我不理解的东西,这是奇怪的左边,甚至左右数字,例如EAN-13条形码包括以下







Greetings,

I'm creating a barcode application and when I google to know about barcode I found something that I did not understand and it is the odd left, even left and right digits for example the EAN-13 barcode includes the following



OddLeft = new String[] { "0001101", "0011001", "0010011",    "0111101", "0100011", "0110001", "0101111", "0111011", "0110111", "0001011" };







EvenLeft = new String[] { "0100111", "0110011", "0011011", "0100001", "0011101", "0111001", "0000101", "0010001", "0001001", "0010111" };







Right = new String[] { "1110010", "1100110", "1101100", "1000010",
                                           "1011100", "1001110", "1010000","1000100",
                                           "1001000", "1110100" };





其中字符串数组中的每个字符串代表0到9之间的数字。

十进制0如何等于奇数左边的0001101或偶数左边的0100111或右边的1110010。他们是如何计算的?

我知道十进制0的二进制表示,上面3个表示中没有一个表示十进制0的二进制表示。

我读到有关奇偶校验位的内容我也发现上面3个表示中没有一个表示十进制0的奇数或偶数奇偶校验位。



上述表示是标准的固定表示吗?或者有一种方法或计算来获得这种表示?



Where every string within the string array represents a number from 0 to 9.
How can decimal 0 equals "0001101" in odd left or "0100111" in even left or "1110010" in right. How did they calculate it?
I know the binary representation of decimal 0 and none of the 3 representations above represents a binary represetation of decimal 0.
I read about parity bits too and I found the none of the 3 representations above represents odd or even parity bits of decimal 0.

Is those representations above are standard fixed representation? or there is a way or a calcuation performed to obtain such representation?

推荐答案



这篇关于条形码编号表示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 21:24