public MemBnkWrEventArgs(ref UINT96_T epc, MemoryBanks4Op bnk, ushort offset, ushort cnt) { this.EPC = epc; this.BankNum = bnk; this.wdOffset = offset; this.wdCnt = cnt; }
//public MemBnkRdEventArgs(ref UInt16 crc, ref UInt16 pc, ref UINT96_T epc, // RFID_18K6C_MEMORY_BANK bankNum, String data, UInt16 RSSI) //{ //} public MemBnkRdEventArgs(ref UInt16 crc, ref UInt16 pc, ref UINT96_T epc, RFID_18K6C_MEMORY_BANK bankNum, String data, UInt16 RSSI) { this.CRC = crc; this.PC = pc; this.EPC = epc; // shallow copy is enough switch (bankNum) { case RFID_18K6C_MEMORY_BANK.RFID_18K6C_MEMORY_BANK_RESERVED: this.BankNum = MemoryBanks4Op.Zero; break; case RFID_18K6C_MEMORY_BANK.RFID_18K6C_MEMORY_BANK_EPC: this.BankNum = MemoryBanks4Op.One; break; case RFID_18K6C_MEMORY_BANK.RFID_18K6C_MEMORY_BANK_TID: this.BankNum = MemoryBanks4Op.Two; break; case RFID_18K6C_MEMORY_BANK.RFID_18K6C_MEMORY_BANK_USER: this.BankNum = MemoryBanks4Op.Three; break; default: this.BankNum = MemoryBanks4Op.Zero; break; } this.Data = data; this.RSSI = RSSI; }
public WrOpEventArgs(WrOpStatus update, String errMsg) { Status = update; ErrMsg = errMsg; TagAccErr = AccErrorTypes.None; AccTagPC = 0; AccTagEPC = new UINT96_T(); }
public DscvrTagEventArgs(UInt16 PC, ref UINT96_T EPC) { this.PC = PC; this.EPC = EPC; Cnt = 0; RSSI = 0.0F; UpdateTm = new FileTime(); }
public DscvrTagEventArgs(UInt16 PC, ref UINT96_T EPC, UInt16 cnt, float wbRSSI, FileTime fTime) { this.PC = PC; this.EPC = EPC; Cnt = cnt; RSSI = wbRSSI; UpdateTm = fTime; }
public WrOpEventArgs(WrOpStatus update, String errMsg, AccErrorTypes tagErr, UInt16 tagPC, UINT96_T tagEPC) { Status = update; ErrMsg = errMsg; TagAccErr = tagErr; AccTagPC = tagPC; AccTagEPC = tagEPC; }
public DscvrTagEventArgs(UInt16[] PCArr, UINT96_T[] EPCArr, float[] RSSIArr, FileTime[] FTArr) { // for initialization only, meaningless in this case PC = 0; EPC = new UINT96_T(); Cnt = 0; RSSI = 0.0F; UpdateTm = new FileTime(); this.PCArr = PCArr != null ? ((UInt16[])PCArr.Clone()) : null; this.EPCArr = EPCArr != null ? ((UINT96_T[])EPCArr.Clone()) : null; // shallow copy this.RSSIArr = RSSIArr != null ? ((float[])RSSIArr.Clone()) : null; this.LastInvtryTmArr = FTArr != null ? ((FileTime[])FTArr.Clone()) : null; // shallow copy }
public MemBnkWrEventArgs(ref UINT96_T epc, MemoryBanks4Op bnk) { this.EPC = epc; this.BankNum = bnk; }