⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 upce_5.java

📁 遗传算法改进神经网络源程序 该小程序可以添加条形码功能到你的网页或者applet上,这个applet把大写字母和数字转换为标准的条形码。
💻 JAVA
字号:
// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-11-23 16:17:30
// Home Page : http://members.fortunecity.com/neshkov/dj.html  - Check often for new version!
// Decompiler options: packimports(3) 
// Source File Name:   UPCE_5.java

package com.bokai.barcodes;


// Referenced classes of package com.bokai.barcodes:
//            BarcodeSpec, Barcode, EANUPC, UPCE, 
//            CharDef

class UPCE_5 extends BarcodeSpec
{

    UPCE_5()
    {
        super.bdType = 17;
        super.bdTypeName = "UPC-E + 5";
        super.bdStyle = 3742;
        super.bdLongBars = 3;
        super.bdCharBitNum = 7;
        super.bdCharNum = 10;
        super.bdTextLen = 8;
        super.bdCentralCharInd = 0;
        super.bdBarExtNum = 1;
        super.bdBarExt = (new byte[] {
            1, 0, 0, 0
        });
        super.bdSpaceExtNum = 1;
        super.bdSpaceExt = (new byte[] {
            1, 0, 0, 0
        });
        super.bdInterCharExt = 0;
        super.bdLeftMargin = 9;
        super.bdTopMargin = 1;
        super.bdRightMargin = 5;
        super.bdBottomMargin = 1;
        super.bdCentralMargin = 7;
        super.bdCharset = (new CharDef[][] {
            UPCE._chardef_upcea, UPCE._chardef_upceb, null
        });
        super.bdCharsetSel = UPCE._upce_sel;
        super.bdStyle2 = 206;
        super.bdTextLen2 = 5;
        super.bdCharset2 = (new CharDef[][] {
            EANUPC._chardef_add2a, EANUPC._chardef_add2b, null
        });
        super.bdCharsetSel2 = EANUPC._add5_sel;
    }

    CharDef calcCharDef(CharDef achardef[][], byte abyte0[], char ac[], int i)
    {
        return UPCE.s_calcCharDef(achardef, abyte0, ac, i);
    }

    CharDef calcCharDef2(CharDef achardef[][], byte abyte0[], char ac[], int i)
    {
        return EANUPC.s_calcAdd5CharDef(achardef, abyte0, ac, i);
    }

    char calcCheckChar(char ac[], int i)
    {
        return UPCE.s_calcCheckChar(ac, i);
    }

    static final String name = "UPC-E + 5";
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -