From c7df85937f73fb347ee0b19e9c052d2d00a6df6c Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期五, 18 九月 2020 13:58:19 +0800
Subject: [PATCH] 新版本
---
ZigbeeApp/Shared/Common/SendDataToServer.cs | 37 +++++++++++++++++++++++++++++--------
1 files changed, 29 insertions(+), 8 deletions(-)
diff --git a/ZigbeeApp/Shared/Common/SendDataToServer.cs b/ZigbeeApp/Shared/Common/SendDataToServer.cs
index afce452..955e873 100755
--- a/ZigbeeApp/Shared/Common/SendDataToServer.cs
+++ b/ZigbeeApp/Shared/Common/SendDataToServer.cs
@@ -185,6 +185,10 @@
public class LoginObj
{
/// <summary>
+ /// RequestVersion
+ /// </summary>
+ public string RequestVersion = CommonPage.RequestVersion;
+ /// <summary>
/// 鐢ㄦ埛璐︽埛
/// </summary>
public string Account;
@@ -193,15 +197,10 @@
/// </summary>
public string Password;
/// <summary>
- /// 鐧诲綍鏉ユ簮,涓昏鏄负浜嗗尯鍒嗘娆$櫥褰曟槸鏉ユ簮OnApp杩樻槸Zigbee App
- /// 榛樿鍊�: null
+ /// 鐧诲綍鏉ユ簮,0:Zigbee
/// </summary>
- public string Source;
- /// <summary>
- /// Company 鍏徃缂栧彿(0:HDL鐭俊楠岃瘉鐮� 1:鐭俊鎺у埗 2:閰掑簵鎺у埗 3:蹇樿瀵嗙爜 100:瀹夋嵎鍢� 101:鎯冲ぉ 102:瀹夌櫨绾� 103:棣栧煄鐝戠幒)
- /// 榛樿鍊�: 0
- /// </summary>
- public int Company;
+ public string RequestSource = "0";
+
}
#endregion
@@ -576,7 +575,29 @@
/// 璇峰~鍏ヨ澶囩殑绫诲瀷锛屽彧鑳戒负銆恑phone銆戝拰銆恆ndroid銆�
/// </summary>
public string DeviceType;
+ /// <summary>
+ /// 3锛欵voyo Home
+ /// </summary>
+ public int Software = 3;
}
#endregion
+
+ #region 瀹氭椂涓婁紶瀹炴椂GPS淇℃伅
+ /// <summary>
+ /// 瀹氭椂涓婁紶瀹炴椂GPS淇℃伅
+ /// </summary>
+ public class ReceiveAppLatAndLonObj
+ {
+ /// <summary>
+ /// 缁忓害
+ /// </summary>
+ public string Latitude;
+ /// <summary>
+ /// 绾害
+ /// </summary>
+ public string Longitude;
+ }
+ #endregion
+
}
}
--
Gitblit v1.8.0