| | |
| | | [key: string]: any; |
| | | } |
| | | |
| | | interface PushDeviceOnoffEntity { |
| | | /** |
| | | * ID |
| | | */ |
| | | id?: number; |
| | | |
| | | /** |
| | | * 设备ID |
| | | */ |
| | | deviceId?: string; |
| | | |
| | | /** |
| | | * 通道号 |
| | | */ |
| | | channelNo?: number; |
| | | |
| | | /** |
| | | * 消息唯一ID |
| | | */ |
| | | messageId?: string; |
| | | |
| | | /** |
| | | * 消息时间 |
| | | */ |
| | | messageTime?: Date; |
| | | |
| | | /** |
| | | * 消息类型 |
| | | */ |
| | | msgType?: string; |
| | | |
| | | /** |
| | | * 设备类型 |
| | | */ |
| | | devType?: string; |
| | | |
| | | /** |
| | | * 设备名称 |
| | | */ |
| | | deviceName?: string; |
| | | |
| | | /** |
| | | * 子序列号 |
| | | */ |
| | | subSerial?: string; |
| | | |
| | | /** |
| | | * 源端ID |
| | | */ |
| | | dasId?: string; |
| | | |
| | | /** |
| | | * NAT的IP |
| | | */ |
| | | natIp?: string; |
| | | |
| | | /** |
| | | * 事件发生时间 |
| | | */ |
| | | occurTime?: Date; |
| | | |
| | | /** |
| | | * 注册时间 |
| | | */ |
| | | regTime?: Date; |
| | | |
| | | /** |
| | | * 创建时间 |
| | | */ |
| | | createTime?: string; |
| | | |
| | | /** |
| | | * 更新时间 |
| | | */ |
| | | updateTime?: string; |
| | | |
| | | /** |
| | | * 任意键值 |
| | | */ |
| | | [key: string]: any; |
| | | } |
| | | |
| | | interface PushSiteweightEntity { |
| | | /** |
| | | * ID |
| | |
| | | interface PushWeightPageResponse { |
| | | pagination: PagePagination; |
| | | list: PushWeightEntity[]; |
| | | } |
| | | |
| | | interface PushDeviceonoffPageResponse { |
| | | pagination: PagePagination; |
| | | list: PushDeviceOnoffEntity[]; |
| | | } |
| | | |
| | | interface RecycleDataPageResponse { |
| | |
| | | request: Request; |
| | | } |
| | | |
| | | interface PushDeviceonoff { |
| | | /** |
| | | * 删除 |
| | | */ |
| | | delete(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 修改 |
| | | */ |
| | | update(data?: any): Promise<any>; |
| | | |
| | | /** |
| | | * 单个信息 |
| | | */ |
| | | info(data?: any): Promise<PushDeviceOnoffEntity>; |
| | | |
| | | /** |
| | | * 列表查询 |
| | | */ |
| | | list(data?: any): Promise<PushDeviceOnoffEntity[]>; |
| | | |
| | | /** |
| | | * 分页查询 |
| | | */ |
| | | page(data?: any): Promise<PushDeviceonoffPageResponse>; |
| | | |
| | | /** |
| | | * 新增 |
| | | */ |
| | | 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 RecycleData { |
| | | /** |
| | | * 恢复数据 |
| | |
| | | siteweight: PushSiteweight; |
| | | vehiclegps: PushVehiclegps; |
| | | weight: PushWeight; |
| | | deviceonoff: PushDeviceonoff; |
| | | }; |
| | | recycle: { data: RecycleData }; |
| | | space: { info: SpaceInfo; type: SpaceType }; |