63 lines
2.2 KiB
TypeScript
63 lines
2.2 KiB
TypeScript
import type { ReqPage,ResPage } from '@/api/interface'
|
||
|
||
// 被检设备模块
|
||
export namespace Device {
|
||
|
||
/**
|
||
* 电能质量指标字典数据表格分页查询参数
|
||
*/
|
||
export interface ReqPqDevParams extends ReqPage{
|
||
id: string; // 装置序号id 必填
|
||
devType?: string; // 设备名称
|
||
createTime?:string; //创建时间
|
||
}
|
||
|
||
/**
|
||
* 被检设备新增、修改、根据id查询返回的对象
|
||
*/
|
||
export interface ResPqDev {
|
||
id: string; //装置序号ID
|
||
name: string; //设备名称
|
||
pattern: string; //设备模式 模拟 数字 比对
|
||
devType: string;//设备类型
|
||
devChns: number; //设备通道数
|
||
devVolt: number; //额定电压(V)
|
||
devCurr: number; //额定电流(A)
|
||
manufacturer: string;//生产厂家
|
||
createDate: string; //生产日期
|
||
createId: string; //出厂编号
|
||
hardwareVersion: string; //固件版本
|
||
softwareVersion: string; //软件版本
|
||
protocol:string; //通讯协议
|
||
ip: string; //IP地址
|
||
port: number; //端口号
|
||
encryption: number; //装置是否为加密版本
|
||
series?: string| null; //装置识别码(3ds加密)
|
||
devKey?: string| null; //装置秘钥(3ds加密)
|
||
sampleID?: string| null; //样品编号
|
||
arrivedDate?: string; //送样日期
|
||
cityName?: string| null; //所属地市名称
|
||
gDName?: string| null; //所属供电公司名称
|
||
subName?: string| null; //所属电站名称
|
||
checkState?: number| null; //检测状态
|
||
checkResult?: number| null; //检测结果
|
||
reportState?: number| null; //报告状态
|
||
documentState?: number| null; //归档状态
|
||
reportPath?: string| null; //报告路径
|
||
qRCode?: string| null; //设备关键信息二维码
|
||
reCheckNum: number; //复检次数
|
||
state: number; //状态
|
||
createBy?: string| null; //创建用户
|
||
createTime?: string| null; //创建时间
|
||
updateBy?: string| null; //更新用户
|
||
updateTime?: string| null; //更新时间
|
||
|
||
}
|
||
|
||
/**
|
||
* 被检设备表格查询分页返回的对象;
|
||
*/
|
||
export interface ResPqDevPage extends ResPage<ResPqDev> {
|
||
|
||
}
|
||
} |