feat: 设备关联与解除关联
- 支持配置交换机端口的下游关联设备 - 支持配置安防箱电路的下游关联设备 - 支持解除关联 - 删除设备时校验是否存在上/下游设备
This commit is contained in:
@@ -10,7 +10,13 @@ import type {
|
||||
NdmVideoServerResultVO,
|
||||
Station,
|
||||
} from '@/apis';
|
||||
import { DEVICE_TYPE_LITERALS } from '@/enums';
|
||||
import { DEVICE_TYPE_LITERALS, type DeviceType } from '@/enums';
|
||||
|
||||
export interface DeviceStoreIndex {
|
||||
stationCode: Station['code'];
|
||||
deviceType: DeviceType;
|
||||
deviceDbId: string;
|
||||
}
|
||||
|
||||
export interface StationDevices {
|
||||
[DEVICE_TYPE_LITERALS.ndmAlarmHost]: NdmAlarmHostResultVO[];
|
||||
|
||||
Reference in New Issue
Block a user