node-red-contrib-smartnode
Version:
this project is a nodejs package for making the nodered support the Smart Device development. the pacakge require node-red enviroment.
48 lines (35 loc) • 1.31 kB
HTML
<!--
Copyright 2015 Maker Collider
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script type="text/x-red" data-help-name="add-strings">
<h3 id="增加字符串节点">增加字符串节点</h3>
<p>本节点可以允许用户在msg.payload前后添加字符串。</p>
<h4 id="参数配置">参数配置</h4>
<ol>
<li>Name:节点名称</li>
<li>Prepend:前缀字符串</li>
<li>Append:后缀字符串</li>
</ol>
<h4 id="输入量">输入量</h4>
<ol>
<li>msg.payload:输入字符串</li>
</ol>
<h4 id="输出量">输出量</h4>
<ol>
<li>msg.payload:拼接后的字符串</li>
</ol>
<h4 id="使用方法">使用方法</h4>
<ol>
<li>配置好节点的每个参数。</li>
<li><code>msg.payload</code>可以为字母,数字,中文或者特殊字符组成的字符串。</li>
</ol>
</script>