public void StartWriteEpc(string epc) { List <string> commands = Rmu900RFIDHelper.RmuWriteDataCommandCompose(RMU_CommandType.RMU_SingleWriteData, null, 1, 2, epc, null); this.SendCommand(commands); }
public void setEPC(string epc) { this.epc = epc; this.nextCommand = Rmu900RFIDHelper.RmuWriteDataCommandCompose(RMU_CommandType.RMU_SingleWriteData, null, 1, 2, this.epc, null); //这里因为不需要在命令里面注明要写入数据的标签的UII,因此可以把所有写入命令 //放到一个字符串里面一次写入 string strCommand = string.Empty; foreach (string s in this.nextCommand) { strCommand += s; } this.nextCommand.Clear(); this.nextCommand.Add(strCommand); }
public operateActionRmu900InventoryWriteEpc(string epc) { this.epc = epc; this.invokeEvent = RFIDEventType.RMU_CardIsReady; this.nextCommand = Rmu900RFIDHelper.RmuWriteDataCommandCompose(RMU_CommandType.RMU_SingleWriteData, null, 1, 2, this.epc, null); //这里因为不需要在命令里面注明要写入数据的标签的UII,因此可以把所有写入命令 //放到一个字符串里面一次写入 string strCommand = string.Empty; foreach (string s in this.nextCommand) { strCommand += s; } this.nextCommand.Clear(); this.nextCommand.Add(strCommand); this.nextCommandType = RFIDEventType.RMU_SingleWriteData; this.exceptionMsg = "写入标签异常"; }