Example #1
0
 public override Collection <SymbolData> EncodeData()
 {
     Symbol      = new Collection <SymbolData>();
     barcodeData = MessagePreProcessor.NumericOnlyParser(barcodeMessage);
     IntellgentMail();
     return(Symbol);
 }
Example #2
0
 public override Collection <SymbolData> EncodeData()
 {
     this.Symbol = new Collection <SymbolData>();
     barcodeData = MessagePreProcessor.NumericOnlyParser(barcodeMessage);
     ChannelCode();
     return(Symbol);
 }
Example #3
0
        public override Collection <SymbolData> EncodeData()
        {
            Symbol = new Collection <SymbolData>();
            switch (symbolId)
            {
            case Symbology.PostNet:
                barcodeData = MessagePreProcessor.NumericOnlyParser(barcodeMessage);
                PostNet();
                break;

            case Symbology.Planet:
                barcodeData = MessagePreProcessor.NumericOnlyParser(barcodeMessage);
                Planet();
                break;

            case Symbology.KoreaPost:
                barcodeData = MessagePreProcessor.NumericOnlyParser(barcodeMessage);
                KoreaPost();
                break;

            case Symbology.FIM:
                barcodeData = MessagePreProcessor.MessageParser(barcodeMessage);
                FIM();
                break;

            case Symbology.RoyalMail:
                barcodeData = MessagePreProcessor.MessageParser(barcodeMessage);
                RoyalMail();
                break;

            case Symbology.KixCode:
                barcodeData = MessagePreProcessor.MessageParser(barcodeMessage);
                KixCode();
                break;

            case Symbology.DaftCode:
                barcodeData = MessagePreProcessor.MessageParser(barcodeMessage);
                DaftCode();
                break;

            case Symbology.Flattermarken:
                barcodeData = MessagePreProcessor.NumericOnlyParser(barcodeMessage);
                Flattermarken();
                break;

            case Symbology.JapanPost:
                barcodeData = MessagePreProcessor.MessageParser(barcodeMessage);
                JapanPost();
                break;
            }

            return(Symbol);
        }
Example #4
0
        public override Collection <SymbolData> EncodeData()
        {
            Symbol = new Collection <SymbolData>();
            switch (symbolId)
            {
            case Symbology.Code32:
                barcodeData        = MessagePreProcessor.NumericOnlyParser(barcodeMessage);
                optionalCheckDigit = false;      // Code 32 generates it's own check digit.
                Code32();
                break;

            case Symbology.PharmaZentralNummer:
                barcodeData        = MessagePreProcessor.NumericOnlyParser(barcodeMessage);
                optionalCheckDigit = false;     // PharmaZentral generates it's own check digit.
                PNZ();
                break;

            case Symbology.Code39:
                if (encodingMode == EncodingMode.HIBC)
                {
                    barcodeData        = MessagePreProcessor.HIBCParser(barcodeMessage);
                    optionalCheckDigit = true;      // HIBC requires a Code 39 check digit.
                    Code39();
                }

                else
                {
                    barcodeData = MessagePreProcessor.MessageParser(barcodeMessage);
                    Code39();
                }

                break;

            case Symbology.Code39Extended:
                barcodeData = MessagePreProcessor.TildeParser(barcodeMessage);
                Code39Extended();
                break;

            case Symbology.LOGMARS:
                barcodeData = MessagePreProcessor.MessageParser(barcodeMessage);
                Logmars();
                break;

            case Symbology.VINCode:
                barcodeData = MessagePreProcessor.MessageParser(barcodeMessage);
                VINCode();
                break;
            }

            return(Symbol);
        }
Example #5
0
        public override Collection <SymbolData> EncodeData()
        {
            Symbol = new Collection <SymbolData>();
            switch (symbolId)
            {
            case Symbology.Pharmacode:
                barcodeData = MessagePreProcessor.NumericOnlyParser(barcodeMessage);
                PharmaOne();
                //barcodeText = new String(barcodeData);
                break;

            case Symbology.Pharmacode2Track:
                barcodeData = MessagePreProcessor.NumericOnlyParser(barcodeMessage);
                PharmaTwo();
                //barcodeText = new String(barcodeData);
                break;
            }

            return(Symbol);
        }