Showing
2 changed files
with
12 additions
and
8 deletions
| @@ -52,7 +52,7 @@ export const MqttSchemas: FormSchema[] = [ | @@ -52,7 +52,7 @@ export const MqttSchemas: FormSchema[] = [ | ||
| 52 | maxRows: 10, | 52 | maxRows: 10, |
| 53 | }, | 53 | }, |
| 54 | }, | 54 | }, |
| 55 | - colProps: { span: 22 }, | 55 | + colProps: { span: 23 }, |
| 56 | }, | 56 | }, |
| 57 | { | 57 | { |
| 58 | field: 'transportPayloadType', | 58 | field: 'transportPayloadType', |
| @@ -70,7 +70,7 @@ export const MqttSchemas: FormSchema[] = [ | @@ -70,7 +70,7 @@ export const MqttSchemas: FormSchema[] = [ | ||
| 70 | { | 70 | { |
| 71 | field: 'useJsonPayloadFormatForDefaultDownlinkTopics', | 71 | field: 'useJsonPayloadFormatForDefaultDownlinkTopics', |
| 72 | label: '', | 72 | label: '', |
| 73 | - colProps: { span: 22 }, | 73 | + colProps: { span: 23 }, |
| 74 | defaultValue: false, | 74 | defaultValue: false, |
| 75 | component: 'Checkbox', | 75 | component: 'Checkbox', |
| 76 | renderComponentContent: `启用后,平台将默认使用Protobuf有效载荷格式。如果解析失败,平台将尝试使用JSON有效负载格式。用于固件更新期间的向后兼容性。例如,固件的初始版本使用Json,而新版本使用Protobuf。在设备组的固件更新过程中,需要同时支持Protobuf和JSON。兼容性模式会导致性能轻微下降,因此建议在所有设备更新后禁用此模式。`, | 76 | renderComponentContent: `启用后,平台将默认使用Protobuf有效载荷格式。如果解析失败,平台将尝试使用JSON有效负载格式。用于固件更新期间的向后兼容性。例如,固件的初始版本使用Json,而新版本使用Protobuf。在设备组的固件更新过程中,需要同时支持Protobuf和JSON。兼容性模式会导致性能轻微下降,因此建议在所有设备更新后禁用此模式。`, |
| @@ -79,7 +79,7 @@ export const MqttSchemas: FormSchema[] = [ | @@ -79,7 +79,7 @@ export const MqttSchemas: FormSchema[] = [ | ||
| 79 | { | 79 | { |
| 80 | field: 'enableCompatibilityWithJsonPayloadFormat', | 80 | field: 'enableCompatibilityWithJsonPayloadFormat', |
| 81 | label: '', | 81 | label: '', |
| 82 | - colProps: { span: 22 }, | 82 | + colProps: { span: 23 }, |
| 83 | defaultValue: false, | 83 | defaultValue: false, |
| 84 | component: 'Checkbox', | 84 | component: 'Checkbox', |
| 85 | renderComponentContent: `启用后,平台将使用Json有效负载格式通过以下主题推送属性和RPC:v1/devices/me/attributes/response/$request_id, v1/devices/me/attributes, v1/devices/me/rpc/request/$request_id,v1/devices/me/rpc/response/$request_id.此设置不会影响使用新(v2)主题发送的属性和rpc订阅:v2/a/res/$request_id, v2/a, v2/r/req/$request_id, v2/r/res/$request_id. Where $request_id是一个整数请求标识符。`, | 85 | renderComponentContent: `启用后,平台将使用Json有效负载格式通过以下主题推送属性和RPC:v1/devices/me/attributes/response/$request_id, v1/devices/me/attributes, v1/devices/me/rpc/request/$request_id,v1/devices/me/rpc/response/$request_id.此设置不会影响使用新(v2)主题发送的属性和rpc订阅:v2/a/res/$request_id, v2/a, v2/r/req/$request_id, v2/r/res/$request_id. Where $request_id是一个整数请求标识符。`, |
| @@ -90,7 +90,7 @@ export const MqttSchemas: FormSchema[] = [ | @@ -90,7 +90,7 @@ export const MqttSchemas: FormSchema[] = [ | ||
| 90 | { | 90 | { |
| 91 | field: 'deviceTelemetryProtoSchema', | 91 | field: 'deviceTelemetryProtoSchema', |
| 92 | label: '遥测数据', | 92 | label: '遥测数据', |
| 93 | - colProps: { span: 22 }, | 93 | + colProps: { span: 23 }, |
| 94 | component: 'InputTextArea', | 94 | component: 'InputTextArea', |
| 95 | componentProps: { | 95 | componentProps: { |
| 96 | autoSize: { | 96 | autoSize: { |
| @@ -119,7 +119,7 @@ export const MqttSchemas: FormSchema[] = [ | @@ -119,7 +119,7 @@ export const MqttSchemas: FormSchema[] = [ | ||
| 119 | { | 119 | { |
| 120 | field: 'deviceAttributesProtoSchema', | 120 | field: 'deviceAttributesProtoSchema', |
| 121 | label: 'Attributes', | 121 | label: 'Attributes', |
| 122 | - colProps: { span: 22 }, | 122 | + colProps: { span: 23 }, |
| 123 | component: 'InputTextArea', | 123 | component: 'InputTextArea', |
| 124 | componentProps: { | 124 | componentProps: { |
| 125 | autoSize: { | 125 | autoSize: { |
| @@ -140,7 +140,7 @@ export const MqttSchemas: FormSchema[] = [ | @@ -140,7 +140,7 @@ export const MqttSchemas: FormSchema[] = [ | ||
| 140 | { | 140 | { |
| 141 | field: 'deviceRpcRequestProtoSchema', | 141 | field: 'deviceRpcRequestProtoSchema', |
| 142 | label: 'RPC 请求 ', | 142 | label: 'RPC 请求 ', |
| 143 | - colProps: { span: 22 }, | 143 | + colProps: { span: 23 }, |
| 144 | component: 'InputTextArea', | 144 | component: 'InputTextArea', |
| 145 | componentProps: { | 145 | componentProps: { |
| 146 | autoSize: { | 146 | autoSize: { |
| @@ -162,7 +162,7 @@ export const MqttSchemas: FormSchema[] = [ | @@ -162,7 +162,7 @@ export const MqttSchemas: FormSchema[] = [ | ||
| 162 | { | 162 | { |
| 163 | field: 'deviceRpcResponseProtoSchema', | 163 | field: 'deviceRpcResponseProtoSchema', |
| 164 | label: 'RPC 响应', | 164 | label: 'RPC 响应', |
| 165 | - colProps: { span: 22 }, | 165 | + colProps: { span: 23 }, |
| 166 | component: 'InputTextArea', | 166 | component: 'InputTextArea', |
| 167 | componentProps: { | 167 | componentProps: { |
| 168 | autoSize: { | 168 | autoSize: { |