<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                [TOC=2] ## 數據上報 ~~~[api] post:/index/flat_statistics/save <<< 數據上報格式 //上報的數據放到body里面格式如下 { "sn":"748000003170", "P":0, // 當前時間點前 60 分鐘平均功率 "E":0, // 當前時間點前 60 分鐘的累計電量 "time":1552270489, // 結束時間前一秒時間戳 08:59:59,代表這個時間點前 60 分鐘的數據 "T_RUN":0, // 當前時間點前 60 分鐘累計加熱時長 單位秒 "T_agv":16, // 當前時間點前 60 分鐘平均溫度 "temp_status": 0, // 當前時間前 60 分鐘設定溫度 "address":1, // 溫控器地址 } <<< success { "code": 0 } <<< error { "code": -1, "msg": "設備序列號格式不正確" } ~~~ ## 在線數上報 ~~~[api] post:/index/flat_statistics/device_number *string:sn=748000003170#設備序列號 *int:total=10#設備總數 *int:online=1#在線設備數 <<< success { "code": 0 } <<< error { "code": -1, "msg": "設備序列號格式不正確" } ~~~ ## 設備列表所有電量 ~~~[api] get:/index/flat_statistics/all_battery *int:device_type=53#設備類型 *string:filter_type=day#篩選類型 *string:filter_date=2020-09-19#篩選時間 <<< success { "code": 0, "data": { "list": [ { "peak_E": 0, "valley_E": 0, "flat_E": 0, "fees": 0, "time": 0, "P": 0, "E": 0, "detail_time": "2020-09-18 00:00:00", "label": "00" }, .... { "peak_E": 0, "valley_E": 0, "flat_E": 0, "fees": 0, "time": 23, "P": 0, "E": 0, "detail_time": "2020-09-18 23:00:00", "label": "23" } ], "total_e": 0, "total_fees": 0 } } <<< error ~~~ ## 設備列表數量統計 ~~~[api] post:/index/flat_statistics/get_device_number *array:sn_list=['748011111111']#設備序列號數組 <<< success { "code": 0, "data": { "total": 20, "online": 12 } } <<< error ~~~ ## 單個設備電量 ~~~[api] get:/index/flat_statistics/single_device_electricity_bill *string:sn=748000003170#設備序列號 *int:address=1#溫控器地址 *string:filter_type=day#篩選類型 *string:filter_date=2020-09-19#篩選時間 <<< success { "code": 0, "data": { "list": [ { "peak_E": 0, "valley_E": 0, "flat_E": 0, "fees": 0, "time": 0, "P": 0, "E": 0, "detail_time": "2020-09-18 00:00:00", "label": "00" }, .... { "peak_E": 0, "valley_E": 0, "flat_E": 0, "fees": 0, "time": 23, "P": 0, "E": 0, "detail_time": "2020-09-18 23:00:00", "label": "23" } ], "total_e": 0, "total_fees": 0 } } <<< error ~~~ ## 單個設備溫度 ~~~[api] get:/index/flat_statistics/get_device_temp *string:sn=748000003170#設備序列號 *int:address=1#溫控器地址 *string:filter_date=2020-09-19#篩選時間 <<< success { "code": 0, "data": { "list": [ { "T_agv": 0, "temp_status": 0, "time": 0, "detail_time": "2020-09-16 00:00:00", "label": "00" }, { "T_agv": 0, "temp_status": 0, "time": 23, "detail_time": "2020-09-16 23:00:00", "label": "23" } ] } } <<< error ~~~ ## 單個設備電量 ~~~[api] get:/index/flat_statistics/single_thermostat_battery *string:sn=748000003170#設備序列號 *int:address=1#溫控器地址 *string:filter_type=day#篩選類型 *string:filter_date=2020-09-19#篩選時間 <<< success { "code": 0, "data": { "list": [ { "P": 0, "E": 0, "T_RUN": 0, "T_agv": 0, "temp_status": 0, "time": 1, "detail_time": "2020-09-01", "label": "09-01" }, { "P": 0, "E": 0, "T_RUN": 0, "T_agv": 0, "temp_status": 0, "time": 30, "detail_time": "2020-09-30", "label": "09-30" } ] } } <<< error ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看