Esempio 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);
 }
Esempio 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);
 }
Esempio 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();
 }
Esempio 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();
 }
Esempio 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();
 }
Esempio 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();
 }
Esempio 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);
        }