@ombori/epc-ean
Version:
EPC Tag Data Standard encoding and decoding library, written in javascript
39 lines (38 loc) • 1.32 kB
TypeScript
export class Gdti174 extends Epc {
clone(): Gdti174;
getType(): any;
fromTagURI(uri: any): Gdti174;
toTagURI(): string;
toIdURI(): string;
toBarcode(): string;
getTotalBits(): number;
getHeader(): number;
getPartition(): number;
setPartition(value: any): Gdti174;
getGdti(): string;
setGdti(gdti: any): Gdti174;
getCompanyPrefix(): number;
setCompanyPrefix(value: any): Gdti174;
getDocumentReference(): number;
setDocumentReference(value: any): Gdti174;
getSerial(): string;
setSerial(value: any): Gdti174;
}
export namespace Gdti174 {
export const EPC_HEADER: number;
export const TOTAL_BITS: number;
export const PARTITION_OFFSET: number;
export const PARTITION_END: number;
export const SERIAL_OFFSET: number;
import SERIAL_END = TOTAL_BITS;
export { SERIAL_END };
export const SERIAL_BITS: number;
export const MAX_SERIAL_LEN: number;
export const CHAR_BITS: number;
export const TAG_URI: string;
export function TAG_URI_TEMPLATE(filter: any, company: any, document: any, serial: any): string;
export function PID_URI_TEMPLATE(company: any, document: any, serial: any): string;
export const PARTITIONS: Partition[];
}
import { Epc } from '../epc';
import { Partition } from '../partition';