From 203c3a3ffde6259413d9743f6a723b95b1e7989c Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 06 七月 2023 22:43:05 +0800
Subject: [PATCH] 门锁功能
---
HDL_ON/DAL/Server/HttpServerRequest.cs | 26 +++++++++++++++++++++++++-
1 files changed, 25 insertions(+), 1 deletions(-)
diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs
index 4909dce..d07ef71 100644
--- a/HDL_ON/DAL/Server/HttpServerRequest.cs
+++ b/HDL_ON/DAL/Server/HttpServerRequest.cs
@@ -80,6 +80,30 @@
return HttpUtil.RequestHttpsPost(NewAPI.Api_Post_ArmSensorHistoricalData, requestJson);
}
/// <summary>
+ /// 鑾峰彇闂ㄩ攣鍘嗗彶璁板綍
+ /// </summary>
+ /// <param name="deviceId"></param>
+ /// <param name="pageSize"></param>
+ /// <param name="pageNo"></param>
+ /// <returns></returns>
+ public ResponsePackNew GetVideoDoorlockHistory(string deviceId, string pageSize, string pageNo)
+ {
+ Dictionary<string, object> d = new Dictionary<string, object>();
+ d.Add("homeId", DB_ResidenceData.Instance.CurrentRegion.id);
+ d.Add("deviceId", deviceId);
+ d.Add("pageSize", pageSize);
+ d.Add("pageNo", pageNo);
+
+ var requestJson = HttpUtil.GetSignRequestJson(d);
+ return HttpUtil.RequestHttpsPost(NewAPI.Api_Post_ArmSensorHistoricalData, requestJson);
+ }
+
+
+
+
+
+
+ /// <summary>
/// 璇诲彇鏈�杩戜竴涓湀鐨勬暟鎹�
/// </summary>
/// <returns></returns>
@@ -715,7 +739,7 @@
public ResponsePackNew RollBack()
{
var d = new Dictionary<string, object>();
- d.Add("homeId", DB_ResidenceData.Instance.CurrentRegion.id);
+ d.Add("houseId", DB_ResidenceData.Instance.CurrentRegion.id);
d.Add("communityId", DB_ResidenceData.Instance.CurrentRegion.communityId);
d.Add("flowRecordContent", "onPro浜や粯鍥炴粴");
d.Add("projectFlowRecordActionEnum", "DELIVERY_ROLLBACK");
--
Gitblit v1.8.0