BarCodeToHTML.cs

(开头部分) 11KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System.Collections;
using System.Text.RegularExpressions;
// 下载于www.51aspx.com
public class BarCodeToHTML
{
    public static string get39(string s, int width, int height)
    {
        Hashtable ht = new Hashtable();

        #region 39码 12位
        ht.Add('A', "110101001011");
        ht.Add('B', "101101001011");
        ht.Add('C', "110110100101");
        ht.Add('D', "101011001011");
        ht.Add('E', "110101100101");
        ht.Add('F', "101101100101");
        ht.Add('G', "101010011011");
        ht.Add('H', "110101001101");
        ht.Add('I', "101101001101");
        ht.Add('J', "101011001101");
        ht.Add('K', "110101010011");
        ht.Add('L', "101101010011");
        ht.Add('M', "110110101001");
        ht.Add('N', "101011010011");
        ht.Add('O', "110101101001");
        ht.Add('P', "101101101001");
        ht.Add('Q', "101010110011");
        ht.Add('R', "110101011001");
        ht.Add('S', "101101011001");
        ht.Add('T', "101011011001");
        ht.Add('U', "110010101011");
        ht.Add('V', "100110101011");
        ht.Add('W', "110011010101");
        ht.Add('X', "100101101011");
        ht.Add('Y', "110010110101");
        ht.Add('Z', "100110110101");
        ht.Add('0', "101001101101");
        ht.Add('1', "110100101011");
        ht.Add('2', "101100101011");
        ht.Add('3', "110110010101");
        ht.Add('4', "101001101011");
        ht.Add('5', "110100110101");
        ht.Add('6', "101100110101");
        ht.Add('7', "101001011011");
        ht.Add('8', "110100101101");
        ht.Add('9', "101100101101");
        ht.Add('+', "100101001001");
        ht.Add('-', "100101011011");
        ht.Add('*', "100101101101");
        ht.Add('/', "100100101001");
        ht.Add('%', "101001001001");
        ht.Add('$', "100100100101");
        ht.Add('.', "110010101101");
        ht.Add(' ', "100110101101");
        #endregion

        #region 39码 9位
        //ht.Add('0', "000110100");
        //ht.Add('1', "100100001");
        //ht.Add('2', "001100001");
后面还有 247 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。