Пример #1
0
        private void mBc2_OnScan(Symbol.Barcode2.ScanDataCollection scanDataCollection)
        {
            ScanData sData = scanDataCollection.GetFirst;
            var str = sData.Text;
            var sType = sData.Type.ToString();
            byte[] by = Encoding.Default.GetBytes(str);
            string sText = Encoding.GetEncoding(65001).GetString(by, 0, by.Length);

            scan_OnDecodeEvent(sText);
        }
Пример #2
0
 public SymbolPair(Symbol source, Symbol column)
 {
   this.Source = source;
   this.Column = column;
 }
Пример #3
0
		internal void Add(string name, Symbol value)
		{
			symbols[symbols.Count - 1][name] = value;
		}