@ombori/epc-ean
Version:
EPC Tag Data Standard encoding and decoding library, written in javascript
38 lines (37 loc) • 1.27 kB
TypeScript
export class Sgln96 extends Epc {
clone(): Sgln96;
getType(): string;
fromTagURI(uri: any): Sgln96;
toTagURI(): string;
toIdURI(): string;
toBarcode(): string;
getTotalBits(): number;
getHeader(): number;
getPartition(): number;
setPartition(value: any): Sgln96;
getGln(): string;
setGln(gln: any): Sgln96;
getCompany(): number;
setCompany(value: any): Sgln96;
getLocation(): number;
setLocation(value: any): Sgln96;
getExtension(): number;
setExtension(value: any): Sgln96;
}
export namespace Sgln96 {
export const EPC_HEADER: number;
export const TOTAL_BITS: number;
export const PARTITION_OFFSET: number;
export const PARTITION_END: number;
export const EXTENSION_OFFSET: number;
import EXTENSION_END = TOTAL_BITS;
export { EXTENSION_END };
export const EXTENSION_BITS: number;
export const MAX_EXTENSION: number;
export const TAG_URI: string;
export function TAG_URI_TEMPLATE(filter: any, company: any, location: any, extension: any): string;
export function PID_URI_TEMPLATE(company: any, location: any, extension: any): string;
export const PARTITIONS: Partition[];
}
import { Epc } from '../epc';
import { Partition } from '../partition';