Showing
3 changed files
with
23 additions
and
1 deletions
| ... | ... | @@ -201,6 +201,12 @@ export interface DeviceRecord { |
| 201 | 201 | isPublic?: boolean; |
| 202 | 202 | }; |
| 203 | 203 | ifShowClass?: Boolean; |
| 204 | + sip?: { | |
| 205 | + cameraCode: string; | |
| 206 | + localIp: string; | |
| 207 | + manufacturer: string; | |
| 208 | + streamMode: string; | |
| 209 | + }; | |
| 204 | 210 | } |
| 205 | 211 | |
| 206 | 212 | export interface DeviceModelOfMatterAttrs { | ... | ... |
| ... | ... | @@ -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 | 103 | field: 'description', |
| 88 | 104 | label: '描述', |
| 89 | 105 | // span: 2, | ... | ... |