icd调整

This commit is contained in:
caozehui
2026-06-16 19:26:47 +08:00
parent 6c191aa96f
commit 8f5642d0b5
8 changed files with 757 additions and 412 deletions

View File

@@ -1,38 +1,36 @@
import type { ReqPage, ResPage } from '@/api/interface'
// ICD模块
export namespace ICD {
export interface ReqICDParams extends ReqPage {
name?: string
type?: number
}
/**
* ICD表格分页查询参数
*/
export interface ReqICDParams extends ReqPage {
id: string; // 装置序号id 必填
devType?: string; // 设备名称
createTime?: string; //创建时间
}
export interface StandardOption {
id: string
name: string
type?: number
}
/**
* 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;//映射文件
}
export interface ResICD {
id: string
name: string
state: number
createBy?: string | null
createTime?: string | null
updateBy?: string | null
updateTime?: string | null
angle: number
usePhaseIndex: number
jsonStr: string
xmlStr: string
result: number
msg: string | null
type: number
referenceIcdId: string | null
referenceIcdName?: string | null
hasIcdFile?: boolean | null
}
/**
* ICD表格查询分页返回的对象
*/
export interface ResICDPage extends ResPage<ResICD> {
}
}
export interface ResICDPage extends ResPage<ResICD> {}
}