UNPKG

ttlock-sdk-js

Version:

JavaScript port of the TTLock Android SDK

19 lines (18 loc) 652 B
/// <reference types="node" /> import { CommandType } from "../../constant/CommandType"; import { Command } from "../Command"; import { CyclicConfig } from "../ValidityInfo"; export declare class CyclicDateCommand extends Command { static COMMAND_TYPE: CommandType; private opType?; private userType?; private user?; private cyclicConfig?; protected processData(): void; build(): Buffer; addIC(cardNumber: string, cyclicConfig: CyclicConfig): void; clearIC(cardNumber: string): void; addFR(fpNumber: string, cyclicConfig: CyclicConfig): void; clearFR(fpNumber: string): void; private calculateUserLen; }