@ombori/epc-ean
Version:
EPC Tag Data Standard encoding and decoding library, written in javascript
31 lines (30 loc) • 950 B
TypeScript
export class Gsrn96 extends Epc {
clone(): Gsrn96;
getType(): string;
fromTagURI(uri: any): Gsrn96;
toTagURI(): string;
toIdURI(): string;
toBarcode(): string;
getTotalBits(): number;
getHeader(): number;
getPartition(): number;
setPartition(value: any): Gsrn96;
getGsrn(): string;
setGsrn(gsrn: any): Gsrn96;
getCompanyPrefix(): number;
setCompanyPrefix(value: any): Gsrn96;
getServiceReference(): number;
setServiceReference(value: any): Gsrn96;
}
export namespace Gsrn96 {
const EPC_HEADER: number;
const TOTAL_BITS: number;
const PARTITION_OFFSET: number;
const PARTITION_END: number;
const TAG_URI: string;
function TAG_URI_TEMPLATE(filter: any, company: any, service: any): string;
function PID_URI_TEMPLATE(company: any, asset: any): string;
const PARTITIONS: Partition[];
}
import { Epc } from '../epc';
import { Partition } from '../partition';