You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [improve] for cluster/array, empty string will be ignore and use the connected prototype as output
[update] #23 for cluster, if the label is not specified, the string will be converted to first element
* update readme
* [update] For SGL/DBL/Integer/Path/Complex/Array/Cluster, empty string will be converted to the input prototype value
[update] For Timestamp, empty string will be converted to current time.
* 更新 README.md
',' is used for element separator, ';' is usd for row separator. '[' & ']' are used for boundary symbol. If it's not in cluster, boundary symbol is not indispensable.
117
137
138
+
_**special case**_:
139
+
140
+
- Empty String will be ignored and the prototype input will be used as output.
141
+
118
142
**Example:**
119
143
120
144
`a,b,c,d,e` and `[a,b,c,d,e]` stands for 5 elements array
@@ -145,6 +169,11 @@ a2 b2 c2 d2 e2
145
169
':' is used for separating name and value, ';' is usd for separating elements. '{' & '}' are used for boundary symbol. If it's not within other array/cluster, boundary symbol is not indispensable. Not all elements should be described but the changing ones.
146
170
It's helpful for CSM to reduce configuration setting API numbers. You can defined the configuration within a cluster and one single setting API for the config API.
147
171
172
+
_**special case**_:
173
+
174
+
- Empty String will be ignored and the prototype input will be used as output.
175
+
- if no name is given, the string input will be converted to the first element of cluster. This is useful to make the first element primary.
176
+
148
177
**Example:**
149
178
150
179
Suppose a cluster as below:
@@ -161,6 +190,8 @@ U32 integer
161
190
162
191
`b:On;str:abcdef` and `{b:On;str:abcdef}` stands for change the input cluster's boolean b to TRUE and String str to "abcdef". Other elements keep as before.
163
192
193
+
`On`,`{On}` are similar to `{b:On}`. The first element of cluster will be changed to TRUE.
194
+
164
195
#### Other DataType
165
196
166
197
Other Datatype will be treated as variant and use CSM-HexStr for data transformation.
0 commit comments