2025-08-26 16:46:54 +08:00
|
|
|
|
import type { PageQuery, BaseEntity } from '#/api/common'
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
export interface MeterInfoVO {
|
|
|
|
|
/**
|
|
|
|
|
* 主键id
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
id: string | number
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 仪表名称
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
meterName: string
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 仪表编码
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
meterCode: string
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 设备厂商
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
factoryNo: string
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 设备类型(1-电表,2-水表,3-气表)
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
meterType: number | String
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 计量单位(1-度,2-吨,3-立方米)
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
meterUnit: number | String
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 安装位置
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
installLocation: string
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 初始读数
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
initReading: number
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 最大量程
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
maxRang: number
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 通信状态
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
communicationState: number | String
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 运行状态
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
runningState: number | String
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 备注
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
remark: string
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface MeterInfoForm extends BaseEntity {
|
|
|
|
|
/**
|
|
|
|
|
* 主键id
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
id?: string | number
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 仪表名称
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
meterName?: string
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 仪表编码
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
meterCode?: string
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 设备厂商
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
factoryNo?: string
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 设备类型(1-电表,2-水表,3-气表)
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
meterType?: number
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 计量单位(1-度,2-吨,3-立方米)
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
meterUnit?: number
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 安装位置
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
installLocation?: string
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 初始读数
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
initReading?: number
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 最大量程
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
maxRang?: number
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 通信状态
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
communicationState?: number
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 运行状态
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
runningState?: number
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 采集器IP
|
|
|
|
|
*/
|
|
|
|
|
hostIp?: string
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 备注
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
remark?: string
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface MeterInfoQuery extends PageQuery {
|
|
|
|
|
/**
|
|
|
|
|
* 仪表名称
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
meterName?: string
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 仪表编码
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
meterCode?: string
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 设备厂商
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
factoryNo?: string
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 设备类型(1-电表,2-水表,3-气表)
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
meterType?: number
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 计量单位(1-度,2-吨,3-立方米)
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
meterUnit?: number
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 安装位置
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
installLocation?: string
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 初始读数
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
initReading?: number
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 最大量程
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
maxRang?: number
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 通信状态
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
communicationState?: number
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 运行状态
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
runningState?: number
|
2025-07-19 16:48:16 +08:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 日期范围参数
|
|
|
|
|
*/
|
2025-08-26 16:46:54 +08:00
|
|
|
|
params?: any
|
2025-07-19 16:48:16 +08:00
|
|
|
|
}
|