Esempio n. 1
0
 /// <summary>
 /// 带参构造函数2
 /// </summary>
 /// <param name="func"></param>
 public RfidTool(Action <RfidOptions> func)
 {
     reader = new ImpinjReader();
     option = new RfidOptions();
     func(option);
     RedirectStandardOut += Console.WriteLine;
 }
Esempio n. 2
0
 /// <summary>
 /// 带参构造函数
 /// </summary>
 /// <param name="readOptions"></param>
 public RfidTool(RfidOptions readOptions)
 {
     reader = new ImpinjReader();
     option = readOptions;
     RedirectStandardOut += Console.WriteLine;
 }