示例#1
0
 /// <summary>
 /// Url EPC de identificação pura
 /// </summary>
 /// <returns></returns>
 public string EpcPureURI()
 {
     return($"urn:epc:id:grai:{HelperConverter.fill(this.CompanyPrefix.ToString(), GraiPartition.GetCompanyDigitos(this.Partition))}.{HelperConverter.fill(this.ItemReference.ToString(), GraiPartition.GetItemDigitos(this.Partition))}.{this.SerialNumber}");
 }
示例#2
0
 /// <summary>
 /// Url EPC de Tag
 /// </summary>
 /// <returns></returns>
 public string EpcTagURI()
 {
     return($"urn:epc:tag:{this.Header}:{this.Filter}.{HelperConverter.fill(this.CompanyPrefix.ToString(), GraiPartition.GetCompanyDigitos(this.Partition))}.{HelperConverter.fill(this.ItemReference.ToString(), GraiPartition.GetItemDigitos(this.Partition))}.{this.SerialNumber}");
 }