Showing
3 changed files
with
23 additions
and
1 deletions
| @@ -201,6 +201,12 @@ export interface DeviceRecord { | @@ -201,6 +201,12 @@ export interface DeviceRecord { | ||
| 201 | isPublic?: boolean; | 201 | isPublic?: boolean; |
| 202 | }; | 202 | }; |
| 203 | ifShowClass?: Boolean; | 203 | ifShowClass?: Boolean; |
| 204 | + sip?: { | ||
| 205 | + cameraCode: string; | ||
| 206 | + localIp: string; | ||
| 207 | + manufacturer: string; | ||
| 208 | + streamMode: string; | ||
| 209 | + }; | ||
| 204 | } | 210 | } |
| 205 | 211 | ||
| 206 | export interface DeviceModelOfMatterAttrs { | 212 | export interface DeviceModelOfMatterAttrs { |
| @@ -84,6 +84,22 @@ export const descSchema = (emit: EmitType): DescItem[] => { | @@ -84,6 +84,22 @@ export const descSchema = (emit: EmitType): DescItem[] => { | ||
| 84 | }, | 84 | }, |
| 85 | }, | 85 | }, |
| 86 | { | 86 | { |
| 87 | + field: 'deviceInfo.sip.cameraCode', | ||
| 88 | + label: '设备编号', | ||
| 89 | + }, | ||
| 90 | + { | ||
| 91 | + field: 'deviceInfo.sip.localIp', | ||
| 92 | + label: '地址', | ||
| 93 | + }, | ||
| 94 | + { | ||
| 95 | + field: 'deviceInfo.sip.manufacturer', | ||
| 96 | + label: '厂家', | ||
| 97 | + }, | ||
| 98 | + { | ||
| 99 | + field: 'deviceInfo.sip.streamMode', | ||
| 100 | + label: '流传输模式', | ||
| 101 | + }, | ||
| 102 | + { | ||
| 87 | field: 'description', | 103 | field: 'description', |
| 88 | label: '描述', | 104 | label: '描述', |
| 89 | // span: 2, | 105 | // span: 2, |
| @@ -13,7 +13,7 @@ enum ChannelStatusEnum { | @@ -13,7 +13,7 @@ enum ChannelStatusEnum { | ||
| 13 | export const configColumns: BasicColumn[] = [ | 13 | export const configColumns: BasicColumn[] = [ |
| 14 | { | 14 | { |
| 15 | title: '通道编号', | 15 | title: '通道编号', |
| 16 | - dataIndex: 'cameraCode', | 16 | + dataIndex: 'channelId', |
| 17 | }, | 17 | }, |
| 18 | { | 18 | { |
| 19 | title: '通道名称', | 19 | title: '通道名称', |