37781216b2
- 优化 `车站-设备-告警` 轮询机制 - 改进设备卡片的布局 - 支持修改设备 - 告警轮询中获取完整告警数据 - 车站告警详情支持导出完整的 `今日告警列表` - 支持将状态持久化到 `IndexedDB` - 新增轮询控制 (调试模式) - 新增离线开发模式 (调试模式) - 新增 `IndexedDB` 数据控制 (调试模式)
43 lines
1.1 KiB
TypeScript
43 lines
1.1 KiB
TypeScript
import type { BaseModel, ReduceForSaveVO, ReduceForUpdateVO, ReduceForPageQuery } from '@/apis';
|
|
import type { Nullable, Optional } from '@/types';
|
|
|
|
export interface NdmDecoder extends BaseModel {
|
|
deviceId: string;
|
|
name: string;
|
|
manufacturer: string;
|
|
state: boolean;
|
|
model: string;
|
|
ipAddress: string;
|
|
manageUrl: string;
|
|
manageUsername: string;
|
|
managePassword: string;
|
|
gbCode: string;
|
|
gbPort: number;
|
|
gbDomain: string;
|
|
gb28181Enabled: boolean;
|
|
onvifPort: number;
|
|
onvifUsername: string;
|
|
onvifPassword: string;
|
|
diagFlag: string;
|
|
diagParam: string;
|
|
diagFormat: string;
|
|
lastDiagInfo: string;
|
|
lastDiagTime: string;
|
|
icmpEnabled: boolean;
|
|
description: string;
|
|
deviceStatus: string;
|
|
deviceType: string;
|
|
community: string;
|
|
frontendConfig: string;
|
|
linkDescription: string;
|
|
snmpEnabled: boolean;
|
|
}
|
|
|
|
export type NdmDecoderResultVO = Nullable<NdmDecoder>;
|
|
|
|
export type NdmDecoderSaveVO = Partial<Omit<NdmDecoder, ReduceForSaveVO>>;
|
|
|
|
export type NdmDecoderUpdateVO = Optional<Omit<NdmDecoder, ReduceForUpdateVO>>;
|
|
|
|
export type NdmDecoderPageQuery = Partial<Omit<NdmDecoder, ReduceForPageQuery>>;
|