机器云


4、读取时间段

<p><strong>请求URL:</strong> </p> <ul> <li><code>http://120.77.72.190:8082/api/MachineCtl/readTimes</code></li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明说明说明说明说明说明说明说明说明说明说明说明说明说明端口9018</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">macno</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>设备号</td> </tr> <tr> <td style="text-align: left;">sign</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>签名 md5(&quot;dlc&quot;)</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "code": 1, "data": { "macno": "DE42462505701457", "times": [ [ { "status": 1, "stime": "08:00:00", "etime": "09:00:00" }, { "status": 1, "stime": "10:15:00", "etime": "10:30:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" } ], [ { "status": 0, "stime": "00:00:00", "etime": "00:00:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" } ], [ { "status": 0, "stime": "00:00:00", "etime": "00:00:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" } ], [ { "status": 0, "stime": "00:00:00", "etime": "00:00:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" } ], [ { "status": 1, "stime": "18:00:00", "etime": "19:00:00" }, { "status": 1, "stime": "11:00:00", "etime": "11:25:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" } ], [ { "status": 0, "stime": "00:00:00", "etime": "00:00:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" } ], [ { "status": 1, "stime": "16:30:00", "etime": "17:00:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" }, { "status": 0, "stime": "00:00:00", "etime": "00:00:00" } ] ] }, "msg": "发送成功" } </code></pre>

页面列表

ITEM_HTML