Files
pqs-9100_client/frontend/src/api/device/interface/error.ts

48 lines
1.7 KiB
TypeScript
Raw Normal View History

2024-11-26 15:41:20 +08:00
import type { ReqPage } from "@/api/interface";
2024-10-23 19:30:11 +08:00
// 误差体系模块
export namespace ErrorSystem {
2024-11-26 15:41:20 +08:00
// 误差体系列表
export interface ErrorSystemList {
id: string;//误差体系表Id
name: string;//误差体系名称
standardName:string;//参照标准名称
standardTime:string;//标准推行时间
devLevel:string;//使用设备等级
enable:number;//状态0-不启用 1-启用
state:number;//0-删除 1-正常
createBy?:string;//创建用户
createTime?:string;//创建时间
updateBy?:string;//修改用户
updateTime?:string;//修改时间
pqErrSysDtlsList?: ErrorSystemDetail[];//误差体系子表列表
}
2024-10-24 09:38:12 +08:00
2024-10-30 15:19:47 +08:00
2024-11-26 15:41:20 +08:00
// 查看详细误差体系
export interface ErrorSystemDetail {
2024-12-24 20:22:36 +08:00
sort: number;
2024-11-26 15:41:20 +08:00
id:string;//误差体系子表ID
errorSysId:string;//所属误差体系ID
2024-12-26 09:28:19 +08:00
errorType: string;//误差类型,树形字典表(没有树形表则需要拆分字段)
scriptType: string;//脚本类型
2024-12-24 20:22:36 +08:00
startValue?:number | null;//误差判断起始值(误差范围)
2024-11-26 15:41:20 +08:00
startFlag?:number;//是否包含起始值
2024-12-24 20:22:36 +08:00
endValue?:number | null;//;误差判断结束值(误差范围)
2024-11-26 15:41:20 +08:00
endFlag?:number;//是否包含结束值
conditionType?:string;//判断条件值类型(包括值类型,绝对值、相对值)
maxErrorValue:number;//误差最大值
errorValueType:string;//误差值类型包括值类型绝对值、相对值1、相对值2
2024-10-30 15:19:47 +08:00
}
2024-11-26 15:41:20 +08:00
2025-01-02 09:02:46 +08:00
//查看详细误差体系
export interface Error_detail {
col1: string;
col2: string;
deviceLevel: string;
measurementType:string;
condition: string;
maxErrorValue: string;
}
2024-11-26 15:41:20 +08:00
}