Files
pqs-9100_client/frontend/src/api/device/interface/error.ts
2025-01-02 09:02:46 +08:00

48 lines
1.7 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import type { ReqPage } from "@/api/interface";
// 误差体系模块
export namespace ErrorSystem {
// 误差体系列表
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[];//误差体系子表列表
}
// 查看详细误差体系
export interface ErrorSystemDetail {
sort: number;
id:string;//误差体系子表ID
errorSysId:string;//所属误差体系ID
errorType: string;//误差类型,树形字典表(没有树形表则需要拆分字段)
scriptType: string;//脚本类型
startValue?:number | null;//误差判断起始值(误差范围)
startFlag?:number;//是否包含起始值
endValue?:number | null;//;误差判断结束值(误差范围)
endFlag?:number;//是否包含结束值
conditionType?:string;//判断条件值类型(包括值类型,绝对值、相对值)
maxErrorValue:number;//误差最大值
errorValueType:string;//误差值类型包括值类型绝对值、相对值1、相对值2
}
//查看详细误差体系
export interface Error_detail {
col1: string;
col2: string;
deviceLevel: string;
measurementType:string;
condition: string;
maxErrorValue: string;
}
}