cameraModel.ts
1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
import { BasicPageParams } from '/@/api/model/baseModel';
export type CameraQueryParam = BasicPageParams & CameraParam;
export type CameraParam = {
  // status: true;
  name?: string;
  organizationId?: string;
  // orderFiled: string;
  // orderType: string;
};
export interface CameraModel {
  accessMode: number;
  avatar?: string;
  brand: string;
  creator?: string;
  defaultConfig?: string;
  description?: string;
  deviceInfo?: string;
  deviceType?: string;
  enabled?: true;
  icon?: string;
  id?: string;
  name: string;
  organizationId: string;
  organizationName?: string;
  sn: string;
  status?: false;
  tenantId?: string;
  tenantProfileId?: string;
  updater?: string;
  videoUrl: string;
  params?: {
    channelNo: string;
    deviceId: string;
    deviceName: string;
  };
}
export interface StreamingManageRecord {
  id: string;
  creator: string;
  createTime: string;
  name: string;
  enabled: boolean;
  tenantId: string;
  sn: string;
  organizationId: string;
  organizationName: string;
  status: boolean;
  accessMode: number;
  playProtocol: number;
}
export interface StreamingMediaModel {
  id: string;
  creator: string;
  createTime: string;
  enabled: boolean;
  tenantId: string;
  type: number;
  host: string;
  appKey: string;
  appSecret: string;
  ssl: number;
}
export interface StreamingQueryParam {
  host?: string;
}
export interface StreamingSubmitParam {
  type: number;
  ssl: number;
  host: string;
  appKey: string;
  appSecret: string;
  id?: string;
}
export interface StreamingMediaDeleteParam {
  tenantId?: string;
  ids: string[];
}
export interface CameraRecord {
  id: string;
  creator: string;
  createTime: string;
  updater: string;
  updateTime: string;
  name: string;
  enabled: boolean;
  tenantId: string;
  videoUrl: string;
  brand: string;
  sn: string;
  organizationId: string;
  organizationName: string;
  status: boolean;
  accessMode: number;
  playProtocol: number;
}