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