iot-sol
Version:
Intel(r) IoT Services Orchestration Layer - HTML5 IDE + Node.js middleware to create and host distributed IoT Apps in minutes
48 lines (46 loc) • 1.79 kB
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="generator" content="pandoc" />
<meta name="author" content="Copyright 2015 Intel Corporation All Rights Reserved." />
<title>IoT Services Orchestration Layer</title>
<style type="text/css">code{white-space: pre;}</style>
<link rel="stylesheet" href="styles/style.css" type="text/css" />
</head>
<body>
<div id="header">
<h1 class="title">IoT Services Orchestration Layer</h1>
<h2 class="author">Copyright 2015 Intel Corporation All Rights Reserved.</h2>
</div>
<div id="TOC">
<ul>
<li><a href="#用户自定义">用户自定义</a><ul>
<li><a href="#函数">函数</a><ul>
<li><a href="#描述">描述</a></li>
<li><a href="#配置">配置</a></li>
<li><a href="#输入">输入</a></li>
<li><a href="#输出">输出</a></li>
<li><a href="#样例">样例</a></li>
</ul></li>
</ul></li>
</ul>
</div>
<h1 id="用户自定义">用户自定义</h1>
<h2 id="函数">函数</h2>
<h3 id="描述">描述</h3>
<p>此服务执行用户自定义函数。</p>
<h3 id="配置">配置</h3>
<p><code>f(x)</code>: 字符串 必填项 自定义函数体(Javascript Language)</p>
<h3 id="输入">输入</h3>
<p><code>x</code>: 任意类型 自定义函数输入参数</p>
<h3 id="输出">输出</h3>
<p><code>out</code>: 任意类型 自定义函数的返回值</p>
<h3 id="样例">样例</h3>
<div class="figure">
<img src="./pic/fx.zh-CN.jpg" />
</div>
<p>在此样例中,如果输入参数小于60则输出“不及格”,否则输出“及格”。</p>
</body>
</html>