39 lines
1.0 KiB
TypeScript
39 lines
1.0 KiB
TypeScript
import type { ReqPage, ResPage } from '@/api/interface'
|
|
|
|
// 监测点模块
|
|
export namespace Monitor {
|
|
|
|
/**
|
|
* 监测点表格分页查询参数
|
|
*/
|
|
export interface ReqPqMonParams extends ReqPage {
|
|
id: string; // 装置序号id 必填
|
|
name?: string; // 设备名称
|
|
|
|
}
|
|
|
|
/**
|
|
* 监测点新增、修改、根据id查询返回的对象
|
|
*/
|
|
export interface ResPqMon {
|
|
id: string; //监测点ID
|
|
devId: string; //所属设备ID
|
|
busbar: string;//母线名称
|
|
name: string; //监测点名称
|
|
num: number; //线路号,监测点序号
|
|
pt: string; //PT变比
|
|
ct: string; //CT变比
|
|
connection: string; //接线方式,字典表
|
|
statInterval: number; //统计间隔
|
|
harmSysId: string; //默认与谐波系统监测点ID相同
|
|
checkFlag: number;//是否参与检测0否1是
|
|
resultType:string|null; //检测结果类型
|
|
}
|
|
|
|
/**
|
|
* 监测点表格查询分页返回的对象;
|
|
*/
|
|
export interface ResPqMonPage extends ResPage<ResPqMon> {
|
|
|
|
}
|
|
} |