| | |
| | | [key: string]: any; |
| | | } |
| | | |
| | | interface PushDevicealarmEntity { |
| | | /** |
| | | * ID |
| | | */ |
| | | id?: number; |
| | | |
| | | /** |
| | | * 设备序列号 |
| | | */ |
| | | devSerial?: string; |
| | | |
| | | /** |
| | | * 通道号 |
| | | */ |
| | | channelNo?: string; |
| | | |
| | | /** |
| | | * 报警消息ID |
| | | */ |
| | | alarmId?: string; |
| | | |
| | | /** |
| | | * 报警时间戳 |
| | | */ |
| | | alarmTime?: string; |
| | | |
| | | /** |
| | | * 报警类型 |
| | | */ |
| | | alarmType?: string; |
| | | |
| | | /** |
| | | * 通道名称 |
| | | */ |
| | | channelName?: string; |
| | | |
| | | /** |
| | | * 通道类型 |
| | | */ |
| | | channelType?: number; |
| | | |
| | | /** |
| | | * 加密密码 |
| | | */ |
| | | checksum?: string; |
| | | |
| | | /** |
| | | * 图片加密类型 |
| | | */ |
| | | crypt?: number; |
| | | |
| | | /** |
| | | * 自定义信息 |
| | | */ |
| | | customInfo?: string; |
| | | |
| | | /** |
| | | * 自定义协议类型 |
| | | */ |
| | | customType?: string; |
| | | |
| | | /** |
| | | * 告警描述 |
| | | */ |
| | | describe?: string; |
| | | |
| | | /** |
| | | * 位置信息 |
| | | */ |
| | | location?: string; |
| | | |
| | | /** |
| | | * 关联ID |
| | | */ |
| | | relationId?: string; |
| | | |
| | | /** |
| | | * 报警状态 |
| | | */ |
| | | status?: number; |
| | | |
| | | /** |
| | | * 告警图片列表 |
| | | */ |
| | | pictureList?: any; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | createTime?: string; |
| | | |
| | | /** |
| | | * 更新时间 |
| | | */ |
| | | updateTime?: string; |
| | | |
| | | /** |
| | | * 部门名称 |
| | | */ |
| | | departmentName?: string; |
| | | |
| | | /** |
| | | * 任意键值 |
| | | */ |
| | | [key: string]: any; |
| | | } |
| | | |
| | | interface PushDeviceOnoffEntity { |
| | | /** |
| | | * ID |
| | |
| | | departmentId?: number; |
| | | |
| | | /** |
| | | * 部门名称 |
| | | */ |
| | | departmentName?: string; |
| | | |
| | | /** |
| | | * 总重量 |
| | | */ |
| | | weightTotal?: number; |
| | |
| | | * 更新时间 |
| | | */ |
| | | updateTime?: string; |
| | | |
| | | /** |
| | | * 部门名称 |
| | | */ |
| | | departmentName?: string; |
| | | |
| | | /** |
| | | * 任意键值 |
| | |
| | | |
| | | type json = any; |
| | | |
| | | type DictKey = |
| | | "ratedpayload" | "iottype" | "sitetype" | "datachanel" | "vehicletype" | "businesstype"; |
| | | |
| | | interface PagePagination { |
| | | size: number; |
| | | page: number; |
| | |
| | | interface PushCameragpsPageResponse { |
| | | pagination: PagePagination; |
| | | list: PushCameraGpsEntity[]; |
| | | } |
| | | |
| | | interface PushDevicealarmPageResponse { |
| | | pagination: PagePagination; |
| | | list: PushDevicealarmEntity[]; |
| | | } |
| | | |
| | | interface PushDeviceonoffPageResponse { |
| | |
| | | |
| | | interface BasicdataIot { |
| | | /** |
| | | * 获取萤石云监控设备 |
| | | */ |
| | | getYsDevices(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 删除 |
| | | */ |
| | | delete(data?: any): Promise<any>; |
| | |
| | | * 权限标识 |
| | | */ |
| | | permission: { |
| | | getYsDevices: string; |
| | | delete: string; |
| | | update: string; |
| | | info: string; |
| | |
| | | * 权限状态 |
| | | */ |
| | | _permission: { |
| | | getYsDevices: boolean; |
| | | delete: boolean; |
| | | update: boolean; |
| | | info: boolean; |
| | |
| | | request: Request; |
| | | } |
| | | |
| | | interface MonitorYs7 { |
| | | /** |
| | | * getToken |
| | | */ |
| | | getToken(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 权限标识 |
| | | */ |
| | | permission: { getToken: string }; |
| | | |
| | | /** |
| | | * 权限状态 |
| | | */ |
| | | _permission: { getToken: boolean }; |
| | | |
| | | request: Request; |
| | | } |
| | | |
| | | interface OperationWastesale { |
| | | /** |
| | | * 删除 |
| | |
| | | * 分页查询 |
| | | */ |
| | | page(data?: any): Promise<PushCameragpsPageResponse>; |
| | | |
| | | /** |
| | | * 新增 |
| | | */ |
| | | add(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 权限标识 |
| | | */ |
| | | permission: { |
| | | delete: string; |
| | | update: string; |
| | | info: string; |
| | | list: string; |
| | | page: string; |
| | | add: string; |
| | | }; |
| | | |
| | | /** |
| | | * 权限状态 |
| | | */ |
| | | _permission: { |
| | | delete: boolean; |
| | | update: boolean; |
| | | info: boolean; |
| | | list: boolean; |
| | | page: boolean; |
| | | add: boolean; |
| | | }; |
| | | |
| | | request: Request; |
| | | } |
| | | |
| | | interface PushDevicealarm { |
| | | /** |
| | | * 删除 |
| | | */ |
| | | delete(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 修改 |
| | | */ |
| | | update(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 单个信息 |
| | | */ |
| | | info(data?: any): Promise<PushDevicealarmEntity>; |
| | | |
| | | /** |
| | | * 列表查询 |
| | | */ |
| | | list(data?: any): Promise<PushDevicealarmEntity[]>; |
| | | |
| | | /** |
| | | * 分页查询 |
| | | */ |
| | | page(data?: any): Promise<PushDevicealarmPageResponse>; |
| | | |
| | | /** |
| | | * 新增 |
| | |
| | | |
| | | type Request = (options: RequestOptions) => Promise<any>; |
| | | |
| | | type DictKey = |
| | | | "ratedpayload" |
| | | | "iottype" |
| | | | "sitetype" |
| | | | "datachanel" |
| | | | "vehicletype" |
| | | | "businesstype"; |
| | | |
| | | type Service = { |
| | | request: Request; |
| | | |
| | |
| | | }; |
| | | demo: { goods: DemoGoods; tenant: DemoTenant }; |
| | | dict: { info: DictInfo; type: DictType }; |
| | | monitor: { ys7: MonitorYs7 }; |
| | | operation: { wastesale: OperationWastesale }; |
| | | plugin: { info: PluginInfo }; |
| | | push: { |
| | | auditlog: PushAuditlog; |
| | | cameragps: PushCameragps; |
| | | devicealarm: PushDevicealarm; |
| | | deviceonoff: PushDeviceonoff; |
| | | siteweight: PushSiteweight; |
| | | vehiclegps: PushVehiclegps; |