export interface WarnTextList { type: string; name: string; text: string; } export interface FaceGroupModel { id?: string; name: string; projectId: string; } export interface FaceData { id?: string; projectId: string; faceGroupId: string; userName: string; gender: number; photo?: string; recentPhoto?: string; groupName: string; workTypeName: string; idCard: string; } export interface FaceDataSeachParams { faceGroupId?: string; userName?: string; gender?: string; groupName?: string; idCard?: string; } export interface FaceConfigDetailModel { version: string; id: string; url: string; // 推送url protocolType: string; // 推送协议 parameterFormatType: string; // 数据格式 addressingFormatType: string; // 地址类型 hostName: string; // hostname portNo: string; // 端口 httpBroken: string; // 不用显示 httpAuthenticationMethod: string; } export interface SimulationModel { deviceID: string /* 设备 id、从设备列表选择 */; algoCode: string /* 算法 code */; description: string /* 事件描述 */; level: string /* 事件等级 warning、info */; /* 原图 url */ originPath: string; /* 手动画框后的结果图 url */ resultPath?: string; /* 画框信息 */ boxs: { isAbnormal: boolean /* 是否异常(红框 true、绿框 false) */; /* 手动画方框的坐标宽高 */ h: number; w: number; x: number; y: number; }[]; } export interface MultiPollingParams { deviceId: string; presetId: string; eventType: string; } export interface MultiPollingList { id: string; createdAt: number; tenantId: string; projectId: string; devices: { deviceId: string; deviceName: string; eventTypeDicts: { eventType: string; eventName: string }[]; presetIds: string[]; presets: { presetId: string; presetName: string }[]; personNum: number; }[]; interval: number; timeRanges: { fromTime: string; toTime: string }[]; isDeleted: boolean; on: boolean; expired: boolean; } export interface SimilarityReq { id: string; similarityThreshold: string; similarityOn: boolean; } export interface EventListOnModel { eventType: string; eventName: string; } export interface EventModel extends EventListOnModel { tenantId: string; projectId: string; on: boolean; algoClassified: string; sort: any; id: string; } export interface EventConfigurationModel { commonConfigs: EventModel[]; otherConfigs: EventModel[]; } export interface EventGroup { type: string; code: string; name: string; types: { type: string; name: string; shortName: string; group: string; isDefault: boolean; on: boolean; }[]; }