Пример #1
0
        public void ConvertBinaryToTypedTag()
        {
            var tag = EpcTag.FromBinary <Sgtin96Tag>("302D28B329B0F6C000000001");

            Assert.NotNull(tag);
            Assert.AreEqual("urn:epc:tag:sgtin-96:1.311112347.0987.1", tag.ToString());
        }
Пример #2
0
        public void ConvertBinariesToUris(string binaryTag, string tagUri, string idUri)
        {
            var uri = EpcTag.FromBinary(binaryTag).ToString();

            Assert.AreEqual(tagUri, uri);
        }