Beispiel #1
0
 public NFCCardController(NFCContext context)
 {
     _context = context;
 }
 public InspectCyclesController(NFCContext context)
 {
     _context = context;
 }
Beispiel #3
0
 public DeviceController(NFCContext context)
 {
     _context = context;
 }
Beispiel #4
0
 public CommonController(NFCContext context)
 {
     _context = context;
 }
 public InspectTaskController(NFCContext context)
 {
     _context = context;
 }
        //Constructor
        /// <summary>
        /// Creates a new PN532Reader
        /// </summary>
        /// <param name="_connstring"></param>
        /// <param name="_baudrate"></param>
        /// <param name="modtype"></param>
        /// <param name="_poolcount"></param>
        /// <param name="_poolinginterval"></param>
        public PN532Reader(string _connstring, SharpNFC.PInvoke.nfc_baud_rate _baudrate, SharpNFC.PInvoke.nfc_modulation_type modtype, byte _poolcount, byte _poolinginterval)
        {
            context = new NFCContext();

            device = context.OpenDevice(_connstring);
            modulations = new List<SharpNFC.PInvoke.nfc_modulation>();
            SharpNFC.PInvoke.nfc_modulation mod = new SharpNFC.PInvoke.nfc_modulation();
            mod.nbr = _baudrate;
            mod.nmt = modtype;
            modulations.Add(mod);
            poolcount = _poolcount;
            poolinginterval = _poolinginterval;
            nfctarget = new SharpNFC.PInvoke.nfc_target();
        }
 public InspectLineController(NFCContext context)
 {
     _context = context;
 }
Beispiel #8
0
 public InspectDataController(NFCContext context)
 {
     _context = context;
 }
Beispiel #9
0
 public InspectItemsController(NFCContext context)
 {
     _context = context;
 }