Пример #1
0
        public Scanner(string logicalName)
        {
            var explorer = new PosExplorer();
            var device   = explorer.GetDevice(DeviceType.Scanner, logicalName);

            Device = explorer.CreateInstance(device) as Microsoft.PointOfService.Scanner;
        }
Пример #2
0
 public ScannerWrapper(Scanner pScanner)
 {
     this.scanner = pScanner;
 }