Files
admin-vben5/apps/web-antd/src/api/sis/alarmEvents/model.d.ts
lxj d0b4d00f4b
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
事件告警修改
2025-08-15 14:40:04 +08:00

160 lines
2.3 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 { PageQuery, BaseEntity } from '#/api/common';
export interface AlarmEventsVO {
/**
* 报警记录ID
*/
id: string | number;
/**
* 报警事件类型
*/
type: number;
/**
* 报警记录级别(1一般2中级3紧急)
*/
level: number;
/**
* 报警设备ip
*/
deviceIp: string;
/**
* 报警设备名称
*/
deviceName: string;
/**
* 设备所属区域id
*/
deviceGroupId: string | number;
/**
* 设备所属区域名称
*/
deviceGroupName: string;
/**
* 设备告警时间
*/
reportTime: string;
/**
* 1:未处理2:已处理-忽略3已处理-生成工单
*/
state: number;
/**
* 工单id需要state=3才会写入
*/
workOrderId: string | number;
}
export interface AlarmEventsForm extends BaseEntity {
/**
* 报警记录ID
*/
id?: string | number;
/**
* 报警事件类型
*/
type?: number;
/**
* 报警记录级别(1一般2中级3紧急)
*/
level?: number;
/**
* 报警设备ip
*/
deviceIp?: string;
/**
* 报警设备名称
*/
deviceName?: string;
/**
* 设备所属区域id
*/
deviceGroupId?: string | number;
/**
* 设备所属区域名称
*/
deviceGroupName?: string;
/**
* 设备告警时间
*/
reportTime?: string;
/**
* 1:未处理2:已处理-忽略3已处理-生成工单
*/
state?: number;
/**
* 工单id需要state=3才会写入
*/
workOrderId?: string | number;
}
export interface AlarmEventsQuery extends PageQuery {
/**
* 报警事件类型
*/
type?: number;
/**
* 报警记录级别(1一般2中级3紧急)
*/
level?: number;
/**
* 报警设备ip
*/
deviceIp?: string;
/**
* 报警设备名称
*/
deviceName?: string;
/**
* 设备所属区域id
*/
deviceGroupId?: string | number;
/**
* 设备所属区域名称
*/
deviceGroupName?: string;
/**
* 设备告警时间
*/
reportTime?: string;
/**
* 1:未处理2:已处理-忽略3已处理-生成工单
*/
state?: number;
/**
* 工单id需要state=3才会写入
*/
workOrderId?: string | number;
/**
* 日期范围参数
*/
params?: any;
}