public MsgTagKill(KillTagParameter param) { byte[] selectBuff = TagParameter.GetSelectBuff(param.SelectTagParam); msgBody = new byte[4 + selectBuff.Length]; int num = 0; Array.Copy(selectBuff, 0, msgBody, num, selectBuff.Length); num += selectBuff.Length; Array.Copy(param.KillPassword, 0, msgBody, num, 4); }
internal void Log(string msg, KillTagParameter param) { Log(string.Format("****---------->Msg={0}\r\n " + "KillPassword={1}\r\n " + "Select:\r\n " + "MemoryBank={2}\r\n " + "Ptr={3}\r\n " + "TagData={4}\r\n<---------****", msg, ByteFormat.ToHex(param.KillPassword, "", " "), param.SelectTagParam.MemoryBank, param.SelectTagParam.Ptr, ByteFormat.ToHex(param.SelectTagParam.TagData, "", " "))); }