195 lines
2.2 KiB
TypeScript
195 lines
2.2 KiB
TypeScript
import type { BaseEntity, PageQuery } from '#/api/common';
|
|
|
|
export interface DeviceManageVO {
|
|
/**
|
|
* 主键id
|
|
*/
|
|
id: string | number;
|
|
|
|
/**
|
|
* 设备编码
|
|
*/
|
|
deviceNo: string;
|
|
|
|
/**
|
|
* 设备名称
|
|
*/
|
|
deviceName: string;
|
|
|
|
/**
|
|
* 设备ip
|
|
*/
|
|
deviceIp: string;
|
|
|
|
/**
|
|
* 设备端口
|
|
*/
|
|
devicePort: number;
|
|
|
|
/**
|
|
* 设备账号
|
|
*/
|
|
deviceAccount: string;
|
|
|
|
/**
|
|
* 设备密码
|
|
*/
|
|
devicePwd: string;
|
|
|
|
/**
|
|
* 设备
|
|
*/
|
|
deviceMac: string;
|
|
|
|
/**
|
|
* 设备在线状态 0:离线 1:在线 2:未知
|
|
*/
|
|
deviceStatus: number;
|
|
|
|
/**
|
|
* 父级设备id
|
|
*/
|
|
parentId: string | number;
|
|
|
|
/**
|
|
* 设备通道编号
|
|
*/
|
|
channelNo: string;
|
|
|
|
/**
|
|
* 录像机ip
|
|
*/
|
|
vcrIp: string;
|
|
|
|
/**
|
|
* 录像机端口
|
|
*/
|
|
vcrPort: number;
|
|
|
|
/**
|
|
* 录像机账号
|
|
*/
|
|
vcrAccount: string;
|
|
|
|
/**
|
|
* 录像机密码
|
|
*/
|
|
vcrPwd: string;
|
|
|
|
/**
|
|
* 门禁id
|
|
*/
|
|
accessControlId: string | number;
|
|
|
|
/**
|
|
* 楼层id
|
|
*/
|
|
floorId: string | number;
|
|
|
|
lon: number;
|
|
|
|
lat: number;
|
|
}
|
|
|
|
export interface DeviceManageForm extends BaseEntity {
|
|
/**
|
|
* 主键id
|
|
*/
|
|
id?: string | number;
|
|
|
|
/**
|
|
* 设备编码
|
|
*/
|
|
deviceNo?: string;
|
|
|
|
/**
|
|
* 设备名称
|
|
*/
|
|
deviceName?: string;
|
|
|
|
/**
|
|
* 设备ip
|
|
*/
|
|
deviceIp?: string;
|
|
|
|
/**
|
|
* 设备端口
|
|
*/
|
|
devicePort?: number;
|
|
|
|
/**
|
|
* 设备账号
|
|
*/
|
|
deviceAccount?: string;
|
|
|
|
/**
|
|
* 设备密码
|
|
*/
|
|
devicePwd?: string;
|
|
|
|
/**
|
|
* 设备
|
|
*/
|
|
deviceMac?: string;
|
|
|
|
lon: number;
|
|
|
|
lat: number;
|
|
|
|
/**
|
|
* 设备在线状态 0:离线 1:在线 2:未知
|
|
*/
|
|
deviceStatus?: number;
|
|
}
|
|
|
|
export interface DeviceManageQuery extends PageQuery {
|
|
/**
|
|
* 设备编码
|
|
*/
|
|
deviceNo?: string;
|
|
|
|
/**
|
|
* 设备名称
|
|
*/
|
|
deviceName?: string;
|
|
|
|
/**
|
|
* 设备ip
|
|
*/
|
|
deviceIp?: string;
|
|
|
|
/**
|
|
* 设备端口
|
|
*/
|
|
devicePort?: number;
|
|
|
|
/**
|
|
* 设备账号
|
|
*/
|
|
deviceAccount?: string;
|
|
|
|
/**
|
|
* 设备密码
|
|
*/
|
|
devicePwd?: string;
|
|
|
|
/**
|
|
* 设备
|
|
*/
|
|
deviceMac?: string;
|
|
|
|
lon: number;
|
|
|
|
lat: number;
|
|
|
|
/**
|
|
* 设备在线状态 0:离线 1:在线 2:未知
|
|
*/
|
|
deviceStatus?: number;
|
|
|
|
/**
|
|
* 日期范围参数
|
|
*/
|
|
params?: any;
|
|
}
|