38 lines
1.0 KiB
TypeScript
38 lines
1.0 KiB
TypeScript
import type { ReqPage, ResPage } from '@/api/interface'
|
||
|
||
// ICD模块
|
||
export namespace ICD {
|
||
|
||
/**
|
||
* ICD表格分页查询参数
|
||
*/
|
||
export interface ReqICDParams extends ReqPage {
|
||
id: string; // 装置序号id 必填
|
||
devType?: string; // 设备名称
|
||
createTime?: string; //创建时间
|
||
}
|
||
|
||
/**
|
||
* ICD新增、修改、根据id查询返回的对象
|
||
*/
|
||
export interface ResICD {
|
||
id: string; //icdID
|
||
name: string;//icd名称
|
||
path: string;//icd存储地址
|
||
state: number;
|
||
createBy?: string| null; //创建用户
|
||
createTime?: string| null; //创建时间
|
||
updateBy?: string| null; //更新用户
|
||
updateTime?: string| null; //更新时间
|
||
angle: number; // 是否支持电压相角、电流相角指标
|
||
usePhaseIndex: number; // 角型接线时是否使用相别的指标来进行检测
|
||
mappingFile: string | null;//映射文件
|
||
}
|
||
|
||
/**
|
||
* ICD表格查询分页返回的对象;
|
||
*/
|
||
export interface ResICDPage extends ResPage<ResICD> {
|
||
|
||
}
|
||
} |