product.ts
12.2 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
export default {
createText: 'Create product',
importText: 'Import product',
exportText: 'Export',
defaultText: 'Default',
productListText: 'Product list',
defaultSettingSuccessText: 'Setting default succeeded',
defaultSettingFailedText: 'Setting default failed',
updateRuleChain: 'Update rule chain',
prodcutDetailText: 'Product Detail',
productText: 'Product',
imageText: 'Image',
deviceTypeText: 'Device type',
productNameText: 'Product name',
ruleChainText: 'Rule chain',
processQueueText: 'Processing queue',
descriptionText: 'Description',
transportConfigurationText: 'Transport configuration',
accessTypeText: 'Access type',
accessScriptText: 'Access script',
uplinkScriptText: 'Uplink script',
downlinkScriptText: 'Downlink script',
enablePayloadCompatibilityText: 'Enable compatibility with other payload formats',
defaultDownlinkTopicUseDefaultTypeText: 'The default downlink topic uses JSON format',
accessProtocolText: 'Access protocol',
telemetryDataSubjectFilterText: 'Telemetry data subject filter',
attributeTopicFilterText: 'Attribute topic filter',
testScriptText: 'Test script',
hexLengthText: 'Min Hex length',
splicePositionText: 'Intercept start and stop position',
splicePositionHelpMessageText:
'Example of interception: "ABCD".substring(0,2) The value after interception is "AB"',
inputSpliceStartPositionText: 'Please enter the intercept start and stop position',
splicePositionValidText:
'The intercept start position is large and the intercept end position is large',
spliceLengthValidText: 'Intercept start and stop position large with HEX length',
spliceLengthEndValidText: 'Cut end position is less than HEX length',
spliceRemingLength: 'The remaining length position cannot be odd',
spliceLengthNotSame: 'The starting and ending positions of the interception cannot be the same',
inputStartPositionText: 'Please enter the starting position',
inputEndPositionText: 'Please enter cut-off location',
filterPrefixText: 'Matching prefix',
deviceMessagePayloadText: '{deviceType} device message Payload',
energySavingModeText: 'Energy-saving mode',
psmActivityTimerText: 'PSM Activity timer',
edrxCycleText: 'eDRX Cycle',
edrxCycleTimeText: 'eDRX Cycle timer',
pagingTransmissionWindowText: 'Paging transmission window',
pagingTransmissionWindowTimeText: 'Paging transmission window time',
timerUnitText: 'Timer unit',
deviceTelemetryProtoSchemaText: 'Device telemetry proto schema',
deviceAttributesProtoSchemaText: 'Device attributes proto schema',
deviceRpcRequestProtoSchemaText: 'Device Rpc request proto schema',
deviceRpcResponseProtoSchemaText: 'Device Rpc response proto schema',
enableText: 'Enable',
closeText: 'Close',
topicText: 'Topic',
featureText: 'Feature',
releaseText: 'Release',
subscribeText: 'Subscribe',
releaseTopicText: 'Release topic',
subscribeTopicText: 'Subscribe topics',
platformText: 'Platform',
deviceText: 'Device',
sensorDeviceText: 'Sensor device',
gatewayWithDirectDeviceText: 'Gatewat/Direct Connection device',
gatewayWithDirectWithSensorDeviceText: 'Gatewat/Direct Connection/Sensor device',
gatewayWithDirectTelemetryText: 'Gateway/Direct device telemetry',
serverCommandToDeviceText: 'The server command is sent to the device',
deviceResponseCommandToServerText: 'The device responds to the command to the server',
directAttributeReportText: 'Description Attributes of directly connected devices were reported',
deviceRequestServerAttributeText:
'The device requests the server to share attributes and the client attributes',
serverResponseDeviceAttributeText:
'The server responds to the shared attribute and the client attribute to the device',
deviceRequestSensorAttributeText:
'The device requests the service terminal to share attributes and client attributes',
serviceResponseSensorAttributeText:
'The server responds to the shared attributes of the sub-device and the attributes of the client to the device',
deviceReportClientAttributeText: 'The device displays the client properties of the subdevice',
gatewaySubTelemetryText: 'Gateway sub-device telemetry',
eventReportText: 'Event reporting',
orText: 'Or',
thingsModelText: 'Things model',
thingsModelManageText: 'Things model management',
thingsModelBeforeEditTipText:
'The current display is the function definition that has been posted online, if you need to modify, please click',
thingsModelAfterEditTipText:
'You are editing a draft, you need to click publish, the object model will be officially effective.',
thingsModelTSLText: '@:deviceManagement.product.thingsModelText TSL',
thingsModelCreateText: '@:common.createText @:deviceManagement.product.thingsModelText',
thingsModelEditText: '@:common.editText @:deviceManagement.product.thingsModelText',
thingsModelExportText: 'Export @:deviceManagement.product.thingsModelText',
thingsModelExportAllText: 'Export all',
thingsModelImportText: 'Import @:deviceManagement.product.thingsModelText',
thingsModelReleaseText: 'Release online',
thingsModelReleaseConfirmText: 'Do you want to confirm the publication operation?',
thingsModelTSLDescText:
'The Internet of Things platform describes the object model by defining a description Language of things, called TSL (Thing Specification Language), using JSON format, you can assemble the data of the reported device according to TSL. You can export complete physical models for cloud application development; You can also export only the compact object model and implement device development with the device side SDK.',
featureTypeText: 'Feature type',
featureNameText: 'Feature name',
identifierText: 'Identifier',
dataTypeText: 'Data type',
eventTypeText: 'Event type',
statusText: 'Status',
haveReleasedText: 'Have released',
toBeReleasedText: 'To be released',
properties: 'Properties',
services: 'Services',
events: 'Events',
info: 'Info',
alert: 'Alert',
error: 'Error',
thingsModelDescText:
'Attributes generally refer to the operating state of the device, such as the current temperature; A service is a method that can be called by the device, which can define parameters, such as performing a task; Event refers to the notification reported by the device. For example, an alarm needs to be handled in time.',
accessModeText: 'Access mode',
valueRangeText: 'Value range',
stepText: 'Step',
unitText: 'Unit',
unitNameText: 'Unit name',
openNameText: 'Open',
closeNameText: 'Close',
boolCloseText: '0 - close',
boolOpenText: '1 - open',
lengthText: 'Data length(bytes)',
extensionDescText: 'Extended descriptor',
enumsDataText: 'Enums',
structDataText: 'JSON Object',
callTypeText: 'Call type',
inputDatText: 'Input data',
outputDataText: 'Output data',
featureNameHelpText:
'Supports Chinese characters, uppercase and lowercase letters, digits, hyphens (Dashes), and underscores (_).',
identifierHelpText: 'Upper and lowercase letters, digits, and underscores are supported.',
identifierTCPHelpText:
'Support upper and lower case letters, numbers, and underscores. To support original data retention, use the identifier "source"',
hexCommandRuleMessageText: 'Please enter ASCII or HEX service command (0~9/A~F)',
extensionDescHelpText:
'The extended description is used to configure the mapping between the device access gateway agreement and the object model definition.',
extensionDescRuleText: '@:common.inputText@:deviceManagement.product.extensionDescText',
createExtensionDescText: '@:common.createText@:deviceManagement.product.extensionDescText',
maxValueText: 'Max value',
minValueText: 'Min value',
actionTypeText: 'Action type',
registerAddressText: 'Register address',
originalDataTypeText: 'Original data type',
bitPositionText: 'Bit position',
scalingFactorText: 'Scaling factor',
createValueMappingText: '+ Add value mapping',
registerNumberText: 'Register number',
valueMappingText: 'Value mapping',
registerAddressHelpText: 'The value ranges from 0x0 - 0xFFFF',
valueRangeHelpText:
'The value range refers to the value range of the original data after scaling factor processing. Data beyond the value range will be discarded.',
scalingFactorHelpText: 'Scale factor, cannot be 0, default is 1',
registerCountHelpText:
'The value ranges from 1 to 125 when the operation type is hold register or input register',
valueRangeRuleText: 'The maximum is less than the minimum',
stepRuleText: 'The step length cannot be greater than the difference in the value range',
boolRuleText: 'Boolean values cannot be the same',
createStructItemText: '+@:common.createText parameter',
parameterNameText: 'Parameter name',
createEnumsText: '@:common.createText @:deviceManagement.product.enumsDataText',
createEnumsTooltipText: 'Item create up to 100',
enumsExistRuleText:
'The same parameter values or parameter descriptions exist in the enumeration entries',
enumsExistSameValueText: 'The same enumeration exists',
referenceValueText: 'Reference value',
referenceValueRuleText: 'The value is an integer ranging from -2147483648 to 2147483647',
referenceDescText: 'Reference description',
referenceDescRuleText:
'The value can contain a maximum of 20 characters, including Chinese, English, Japanese, digits, underscores (_), and hyphens (Dashes). The value must start with a Chinese, English, or digit',
enumsItemPlaceholderText: 'Numbered as "0"',
enumsNameRuleText: 'The parameter description cannot be empty',
enumsNamePlaceholderText: 'A description of the enumeration item',
productCategoryText: 'Product category',
assignHardwareText: 'Assign hardware',
assignSoftwareText: 'Assign software',
customCategoryText: 'Custom category',
standardCategoryText: 'Standard category',
productCategoryPlaceholderText:
'@:common.chooseText@:deviceManagement.product.productCategoryText',
viewFunctionText: 'View function',
nextStepText: 'Next step',
lastStepText: 'Last step',
gbtProtocolHelpText: 'The GBT28181 protocol uses ZLMediaKit streaming media service framework',
coapDeviceTypeText: 'CoAP device Type',
coapDevicePayloadText: 'CoAP device message payload',
unitMsText: 'Milliseconds',
unitSText: 'Second',
unitMText: 'Minute',
unitHText: 'Hour',
mqttTopicHelpText:
'Single [+] and multi-level [#] wildcards are supported. [+] is suitable for any topic filter level. For example, v1/devices/+/telemetry or +/devices/+/attributes. The topic filter itself can be replaced by [#] and must be the last symbol of the topic. For example, # or v1/devices/me/#.',
mqttEnableProtobufHelpText:
'When enabled, the platform will use the Protobuf payload format by default. If parsing fails, the platform will try to use the JSON payload format. Helps with backward compatibility during firmware updates. For example, the initial version of the firmware uses Json, while the new version uses Protobuf. Support for both Protobuf and JSON is required in the firmware update process of the device group. Compatibility mode causes slight performance degradation, Therefore, it is recommended to disable this mode after updating all devices.',
mqttEnablePayloadCompatibilityHelpText:
'When enabled, the platform will push properties through the following topics using the Json payload format And 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. This setting does not affect properties and rpc subscriptions sent using the new (v2) topic: v2/a/res/$request id, v2/a, v2/r/req/$request id, v2/r/res/$request id. Where, $request id is an integer request identifier.',
accessScriptRuleText: '@:common.chooseText@:deviceManagement.accessScriptText',
downlinkScriptRuleText: '@:common.chooseText@:deviceManagement.downlinkScriptText',
typeText: 'Type',
scriptRuleText: 'Select the corresponding script',
createCoversionScriptText: '@:common.createText conversion script',
configurationTypeText: 'Configuration type',
defaultConfigurationText: 'Default configuration',
selectCategory: 'Select Category',
categoryName: 'Category Name',
pleaseEnterCategoryName: 'Please Enter Category Name',
area: 'Area',
pleaseSelectArea: 'Please Select Area',
};