46 lines
1.4 KiB
TypeScript
46 lines
1.4 KiB
TypeScript
import type {ReqPage, ResPage} from '@/api/interface'
|
||
|
||
// 标准设备模块
|
||
export namespace StandardDevice {
|
||
|
||
/**
|
||
* 标准设备表格分页查询参数
|
||
*/
|
||
export interface ReqPqStandardDeviceParams extends ReqPage {
|
||
id: string; // 装置序号id 必填
|
||
name: string; //设备名称
|
||
devType?: string; // 设备名称
|
||
createTime?: string; //创建时间
|
||
}
|
||
|
||
|
||
/**
|
||
* 标准设备新增、修改、根据id查询返回的对象
|
||
*/
|
||
export interface ResPqStandardDevice {
|
||
id: string; //装置序号ID
|
||
name: string; //设备名称
|
||
devType: string;//设备类型
|
||
manufacturer?: string | null;//生产厂家
|
||
protocol: string;//通讯协议
|
||
ip: string; //IP地址
|
||
port: number; //端口号
|
||
inspectChannel:string[] |string;//可检通道数
|
||
encryptionFlag: number; //装置是否为加密版本
|
||
series?: string | null; //装置识别码(3ds加密)
|
||
devKey?: string | null; //装置秘钥(3ds加密)
|
||
state: number; //状态
|
||
createBy?: string | null; //创建用户
|
||
createTime?: string | null; //创建时间
|
||
updateBy?: string | null; //更新用户
|
||
updateTime?: string | null; //更新时间
|
||
}
|
||
|
||
|
||
/**
|
||
* 标准设备表格查询分页返回的对象;
|
||
*/
|
||
export interface ResPqStandardDevicePage extends ResPage<ResPqStandardDevice> {
|
||
|
||
}
|
||
} |