This commit is contained in:
sjl
2025-01-13 18:12:36 +08:00
parent 85d8a57bf7
commit 0635dda6a0
15 changed files with 205 additions and 81 deletions

View File

@@ -37,3 +37,8 @@ export const importPqDev=(params: Device.ReqPqDevParams)=>{
return http.upload(`/pqDev/import`, params)
}
//根据设备类型决定电源、icd、模板、通道数、额定电压、额定电流
export const getPqDev = () => {
return http.post(`/devType/list`)
}

View File

@@ -25,7 +25,7 @@ export namespace Device {
devChns: number; //设备通道数
devVolt: number; //额定电压V
devCurr: number; //额定电流A
manufacturer: string;//生产厂家
manufacturer?: string | null;//生产厂家
createDate: string; //生产日期
createId: string; //出厂编号
hardwareVersion: string; //固件版本
@@ -56,7 +56,8 @@ export namespace Device {
createTime?: string| null; //创建时间
updateBy?: string| null; //更新用户
updateTime?: string| null; //更新时间
icd: string;
power: string;
}
/**