Exemplo n.º 1
0
 public IDCardReaderHelper()
 {
     config = StaticCacheManager.GetConfig<IDCardConfig>();
     reader = new IDCardReader();
     timer = new Timer();
     timer.Interval = config.MiniSecond;
     timer.Tick += new EventHandler(timer_Tick);
 }
Exemplo n.º 2
0
 public IDCardReaderHelper()
 {
     config         = StaticCacheManager.GetConfig <IDCardConfig>();
     reader         = new IDCardReader();
     timer          = new Timer();
     timer.Interval = config.MiniSecond;
     timer.Tick    += new EventHandler(timer_Tick);
 }
Exemplo n.º 3
0
 public IDCardReaderHelper(De_ReadICCardComplete completeDelegate, int minisecond)
 {
     reader = new IDCardReader();
     timer = new Timer();
     timer.Interval = minisecond;
     timer.Tick += new EventHandler(timer_Tick);
     reader.ReadICCardComplete += completeDelegate;
     this.completeDelegate = completeDelegate;
     timer.Start();
 }
Exemplo n.º 4
0
 public IDCardReaderHelper(De_ReadICCardComplete completeDelegate, int minisecond)
 {
     reader                     = new IDCardReader();
     timer                      = new Timer();
     timer.Interval             = minisecond;
     timer.Tick                += new EventHandler(timer_Tick);
     reader.ReadICCardComplete += completeDelegate;
     this.completeDelegate      = completeDelegate;
     timer.Start();
 }
Exemplo n.º 5
0
 public IDCardReaderHelper(De_ReadICCardComplete completeDelegate)
 {
     config=StaticCacheManager.GetConfig<IDCardConfig>();
     reader = new IDCardReader();
     timer = new Timer();
     timer.Interval = config.MiniSecond;
     timer.Tick += new EventHandler(timer_Tick);
     reader.ReadICCardComplete += completeDelegate;
     this.completeDelegate = completeDelegate;
     timer.Start();
 }
Exemplo n.º 6
0
 public IDCardReaderHelper(De_ReadICCardComplete completeDelegate)
 {
     config                     = StaticCacheManager.GetConfig <IDCardConfig>();
     reader                     = new IDCardReader();
     timer                      = new Timer();
     timer.Interval             = config.MiniSecond;
     timer.Tick                += new EventHandler(timer_Tick);
     reader.ReadICCardComplete += completeDelegate;
     this.completeDelegate      = completeDelegate;
     timer.Start();
 }
Exemplo n.º 7
0
        public IdCardTest()
        {
            bindControlDelegate = new BindControlDelegate(Read);
            timer = new Timer();
            timer.Interval = 500;
            timer.Tick += new EventHandler(timer_Tick);
            InitializeComponent();
            reader = new IDCardReader();

            reader.ReadICCardComplete += new De_ReadICCardComplete(reader_ReadICCardComplete);
            cvReader = new CV100UReader();
            cvReader.AfterReadICCardComplete += new CV100UReader.ReadICCardComplete(cvReader_AfterReadICCardComplete);
        }