166 lines
1.9 KiB
TypeScript
166 lines
1.9 KiB
TypeScript
import type { BaseEntity, PageQuery } from '#/api/common';
|
|
|
|
export interface DeviceChannelVO {
|
|
/**
|
|
* 主键id
|
|
*/
|
|
id: string | number;
|
|
|
|
/**
|
|
* 设备id
|
|
*/
|
|
deviceId: string | number;
|
|
|
|
/**
|
|
* 设备名称
|
|
*/
|
|
deviceName: string;
|
|
|
|
/**
|
|
* 通道分组组id
|
|
*/
|
|
groupId: string | number;
|
|
|
|
/**
|
|
* 设备ip
|
|
*/
|
|
deviceIp: string;
|
|
|
|
/**
|
|
* 设备端口
|
|
*/
|
|
devicePort: number;
|
|
|
|
/**
|
|
* 设备账号
|
|
*/
|
|
deviceAccount: string;
|
|
|
|
/**
|
|
* 设备密码
|
|
*/
|
|
devicePwd: string;
|
|
|
|
/**
|
|
* 设备
|
|
*/
|
|
deviceMac: string;
|
|
|
|
/**
|
|
* 设备通道编号
|
|
*/
|
|
channelNo: string;
|
|
|
|
nvrId: string;
|
|
nvrFactoryNo: string;
|
|
nvrIp: string;
|
|
nvrPort: number;
|
|
nvrAccount: string;
|
|
nvrPwd: string;
|
|
nvrChannelNo: string;
|
|
}
|
|
|
|
export interface DeviceChannelForm extends BaseEntity {
|
|
/**
|
|
* 主键id
|
|
*/
|
|
id?: string | number;
|
|
|
|
/**
|
|
* 设备id
|
|
*/
|
|
deviceId?: string | number;
|
|
|
|
/**
|
|
* 设备名称
|
|
*/
|
|
deviceName?: string;
|
|
|
|
/**
|
|
* 通道分组组id
|
|
*/
|
|
groupId?: string | number;
|
|
|
|
/**
|
|
* 设备ip
|
|
*/
|
|
deviceIp?: string;
|
|
|
|
/**
|
|
* 设备端口
|
|
*/
|
|
devicePort?: number;
|
|
|
|
/**
|
|
* 设备账号
|
|
*/
|
|
deviceAccount?: string;
|
|
|
|
/**
|
|
* 设备密码
|
|
*/
|
|
devicePwd?: string;
|
|
|
|
/**
|
|
* 设备
|
|
*/
|
|
deviceMac?: string;
|
|
|
|
/**
|
|
* 设备通道编号
|
|
*/
|
|
channelNo?: string;
|
|
}
|
|
|
|
export interface DeviceChannelQuery extends PageQuery {
|
|
/**
|
|
* 设备id
|
|
*/
|
|
deviceId?: string | number;
|
|
|
|
/**
|
|
* 设备名称
|
|
*/
|
|
deviceName?: string;
|
|
|
|
/**
|
|
* 通道分组组id
|
|
*/
|
|
groupId?: string | number;
|
|
|
|
/**
|
|
* 设备ip
|
|
*/
|
|
deviceIp?: string;
|
|
|
|
/**
|
|
* 设备端口
|
|
*/
|
|
devicePort?: number;
|
|
|
|
/**
|
|
* 设备账号
|
|
*/
|
|
deviceAccount?: string;
|
|
|
|
/**
|
|
* 设备密码
|
|
*/
|
|
devicePwd?: string;
|
|
|
|
/**
|
|
* 设备
|
|
*/
|
|
deviceMac?: string;
|
|
|
|
/**
|
|
* 设备通道编号
|
|
*/
|
|
channelNo?: string;
|
|
|
|
/**
|
|
* 日期范围参数
|
|
*/
|
|
params?: any;
|
|
}
|