2025-08-05 16:39:25 +08:00
|
|
|
import type { BaseEntity, PageQuery } from '#/api/common'
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
export interface DeviceManageVO {
|
|
|
|
/**
|
|
|
|
* 主键id
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
id: string | number
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备编码
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
deviceNo: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备名称
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
deviceName: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备ip
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
deviceIp: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备端口
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
devicePort: number
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备账号
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
deviceAccount: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备密码
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
devicePwd: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
deviceMac: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备在线状态 0:离线 1:在线 2:未知
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
deviceStatus: number
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 父级设备id
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
parentId: string | number
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备通道编号
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
channelNo: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 录像机ip
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
vcrIp: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 录像机端口
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
vcrPort: number
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 录像机账号
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
vcrAccount: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 录像机密码
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
vcrPwd: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 门禁id
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
accessControlId: string | number
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 楼层id
|
|
|
|
*/
|
|
|
|
floorId: string | number
|
2025-06-29 02:59:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface DeviceManageForm extends BaseEntity {
|
|
|
|
/**
|
|
|
|
* 主键id
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
id?: string | number
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备编码
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
deviceNo?: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备名称
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
deviceName?: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备ip
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
deviceIp?: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备端口
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
devicePort?: number
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备账号
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
deviceAccount?: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备密码
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
devicePwd?: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
deviceMac?: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备在线状态 0:离线 1:在线 2:未知
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
deviceStatus?: number
|
2025-06-29 02:59:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface DeviceManageQuery extends PageQuery {
|
|
|
|
/**
|
|
|
|
* 设备编码
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
deviceNo?: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备名称
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
deviceName?: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备ip
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
deviceIp?: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备端口
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
devicePort?: number
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备账号
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
deviceAccount?: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备密码
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
devicePwd?: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
deviceMac?: string
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 设备在线状态 0:离线 1:在线 2:未知
|
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
deviceStatus?: number
|
2025-06-29 02:59:14 +08:00
|
|
|
|
|
|
|
/**
|
2025-07-19 09:09:14 +08:00
|
|
|
* 日期范围参数
|
2025-06-29 02:59:14 +08:00
|
|
|
*/
|
2025-08-05 16:39:25 +08:00
|
|
|
params?: any
|
2025-06-29 02:59:14 +08:00
|
|
|
}
|