| | |
| | | # region ZigbeeUsers 部分 |
| | | //***************************ZigbeeUsers 部分******************************** |
| | | public static string API_ZigbeeUsers = "/ZigbeeUsers/"; |
| | | /// <summary> |
| | | /// 连接服务器 |
| | | /// Connection |
| | | /// </summary> |
| | | public static string Connection = API_ZigbeeUsers + "/Connection"; |
| | | /// <summary> |
| | | /// Users - 使用帐号密码登录 |
| | | /// ZigbeeUsers/Login |
| | | /// </summary> |
| | | public static string Login = API_ZigbeeUsers + "Login"; |
| | | ///// <summary> |
| | | ///// 连接服务器 |
| | | ///// Connection |
| | | ///// </summary> |
| | | //public static string Connection = API_ZigbeeUsers + "/Connection"; |
| | | ///// <summary> |
| | | ///// Users - 使用帐号密码登录 |
| | | ///// ZigbeeUsers/Login |
| | | ///// </summary> |
| | | //public static string Login = API_ZigbeeUsers + "Login"; |
| | | |
| | | /// <summary> |
| | | /// 用户是否存在 |
| | | /// </summary> |
| | | public static string IsExistingAccount = API_ZigbeeUsers + "IsExistingAccount"; |
| | | ///// <summary> |
| | | ///// 用户是否存在 |
| | | ///// </summary> |
| | | //public static string IsExistingAccount = API_ZigbeeUsers + "IsExistingAccount"; |
| | | |
| | | ///// <summary> |
| | | ///// HomeList |
| | |
| | | //public static string HomeList = "HangZhouHdlCloudApi/ZigbeeUsers/HomeList"; |
| | | |
| | | |
| | | /// <summary> |
| | | /// 修改用户密码 |
| | | /// </summary> |
| | | public static string UpdatePassword = API_ZigbeeUsers + "UpdatePassword"; |
| | | ///// <summary> |
| | | ///// 修改用户密码 |
| | | ///// </summary> |
| | | //public static string UpdatePassword = API_ZigbeeUsers + "UpdatePassword"; |
| | | |
| | | /// <summary> |
| | | /// 判断账号是否存在 |
| | | /// </summary> |
| | | public static string DetectionAccount = API_ZigbeeUsers + "DetectionAccount"; |
| | | /// <summary> |
| | | /// 注册账号 发送邮件确认的方式 |
| | | /// </summary> |
| | | public static string YdRegisterAccount = API_ZigbeeUsers + "YdRegisterAccount"; |
| | | /// <summary> |
| | | /// 忘记密码 |
| | | /// </summary> |
| | | public static string YdForgetPassword = API_ZigbeeUsers + "YdForgetPassword"; |
| | | ///// <summary> |
| | | ///// 判断账号是否存在 |
| | | ///// </summary> |
| | | //public static string DetectionAccount = API_ZigbeeUsers + "DetectionAccount"; |
| | | ///// <summary> |
| | | ///// 注册账号 发送邮件确认的方式 |
| | | ///// </summary> |
| | | //public static string YdRegisterAccount = API_ZigbeeUsers + "YdRegisterAccount"; |
| | | ///// <summary> |
| | | ///// 忘记密码 |
| | | ///// </summary> |
| | | //public static string YdForgetPassword = API_ZigbeeUsers + "YdForgetPassword"; |
| | | /// <summary> |
| | | /// 绑定子账号到项目 need Authorization |
| | | /// </summary> |
| | |
| | | public static string GetSubAccountByDistributedMark = API_ZigbeeUsers + "GetSubAccountByDistributedMark"; |
| | | |
| | | |
| | | /// <summary> |
| | | /// UpdateRemoteSwitchPassword |
| | | /// </summary> |
| | | public static string UpdateRemoteSwitchPassword = API_ZigbeeUsers + "UpdateRemoteSwitchPassword"; |
| | | ///// <summary> |
| | | ///// UpdateRemoteSwitchPassword |
| | | ///// </summary> |
| | | //public static string UpdateRemoteSwitchPassword = API_ZigbeeUsers + "UpdateRemoteSwitchPassword"; |
| | | #endregion |
| | | |
| | | #region APP 部分 |
| | |
| | | /// 1.22 上传[项目(住宅(App(网关)手动备份]子文件 |
| | | /// </summary> |
| | | public static string UploadHomeAppGatewaySubFiles = API_APP + "UploadHomeAppGatewaySubFiles"; |
| | | /// <summary> |
| | | /// 1.23 删除App备份[手动备份住宅、手动备份网关、自动备份住宅、公共备份]的某些文件 |
| | | /// </summary> |
| | | public static string DeleteAppBackupFile = API_APP + "DeleteAppBackupFile"; |
| | | public static string UploadHomeAppGatewaySingleSubFile = API_APP + "UploadHomeAppGatewaySingleSubFile"; |
| | | |
| | | ///// <summary> |
| | | ///// 1.23 删除App备份[手动备份住宅、手动备份网关、自动备份住宅、公共备份]的某些文件 |
| | | ///// </summary> |
| | | //public static string DeleteAppBackupFile = API_APP + "DeleteAppBackupFile"; |
| | | /// <summary> |
| | | /// 1.24 获取住宅备份数据_分页 |
| | | /// </summary> |
| | |
| | | /// 1.27 删除项目(住宅)各种备份文件夹(文件夹下所有文件也会删除) |
| | | /// </summary> |
| | | public static string DelHomeAppGatewayName = API_APP + "DelHomeAppGatewayName"; |
| | | /// <summary> |
| | | /// 1.28 更新项目(住宅)[App(网关)手动备份]备注名 |
| | | /// </summary> |
| | | public static string UpdateHomeAppGatewayName = API_APP + "UpdateHomeAppGatewayName"; |
| | | /// <summary> |
| | | /// 1.29 项目(住宅)下App自动备份 |
| | | /// </summary> |
| | | public static string HomeAppAutoDataBackup = API_APP + "HomeAppAutoDataBackup"; |
| | | ///// <summary> |
| | | ///// 1.28 更新项目(住宅)[App(网关)手动备份]备注名 |
| | | ///// </summary> |
| | | //public static string UpdateHomeAppGatewayName = API_APP + "UpdateHomeAppGatewayName"; |
| | | ///// <summary> |
| | | ///// 1.29 项目(住宅)下App自动备份 |
| | | ///// </summary> |
| | | //public static string HomeAppAutoDataBackup = API_APP + "HomeAppAutoDataBackup"; |
| | | |
| | | |
| | | /// <summary> |
| | | /// 1.61 绑定网关到项目(住宅) |
| | | /// </summary> |
| | | public static string BindGatewayToHome = API_APP + "BindGatewayToHome"; |
| | | /// <summary> |
| | | /// 1.62 解绑定网关到项目(住宅) |
| | | /// </summary> |
| | | public static string ReleaseGatewayToHome = API_APP + "ReleaseGatewayToHome"; |
| | | ///// <summary> |
| | | ///// 1.61 绑定网关到项目(住宅) |
| | | ///// </summary> |
| | | //public static string BindGatewayToHome = API_APP + "BindGatewayToHome"; |
| | | ///// <summary> |
| | | ///// 1.62 解绑定网关到项目(住宅) |
| | | ///// </summary> |
| | | //public static string ReleaseGatewayToHome = API_APP + "ReleaseGatewayToHome"; |
| | | |
| | | |
| | | /// <summary> |
| | | /// 1.63 获得某个帐号所有已绑定的网关分页 |
| | | /// </summary> |
| | | public static string GetAllBindGatewarysPagger = API_APP + "GetAllBindGatewarysPagger"; |
| | | |
| | | |
| | | ///// <summary> |
| | | ///// 1.63 获得某个帐号所有已绑定的网关分页 |
| | | ///// </summary> |
| | | //public static string GetAllBindGatewarysPagger = API_APP + "GetAllBindGatewarysPagger"; |
| | | /// <summary> |
| | | /// 1.64 获取某个住宅的网关分页 |
| | | /// </summary> |
| | | public static string GetSingleHomeGatewayPagger = API_APP + "GetSingleHomeGatewayPagger"; |
| | | |
| | | ///// <summary> |
| | | ///// 1.65 UpdateMac 更新Mac(印度) |
| | | ///// </summary> |
| | | //public static string UpdateMac = API_APP + "UpdateMac"; |
| | | |
| | | /// <summary> |
| | | /// 1.65 UpdateMac 更新Mac(印度) |
| | | /// 1.66 BindMac 更新绑定Mac(印度) |
| | | /// </summary> |
| | | public static string UpdateMac = API_APP + "UpdateMac"; |
| | | public static string BindMac = API_APP + "BindMac"; |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 1.81 添加项目(住宅) |
| | | /// </summary> |
| | | public static string AddHome = API_APP + "AddHome"; |
| | | |
| | | /// <summary> |
| | | /// 1.82删除项目 (住宅) |
| | | /// </summary> |
| | | public static string DelHome = API_APP + "DelHome"; |
| | | ///// <summary> |
| | | ///// 1.81 添加项目(住宅) |
| | | ///// </summary> |
| | | //public static string AddHome = API_APP + "AddHome"; |
| | | |
| | | ///// <summary> |
| | | ///// 1.82删除项目 (住宅) |
| | | ///// </summary> |
| | | //public static string DelHome = API_APP + "DelHome"; |
| | | |
| | | /// <summary> |
| | | /// 1.83 编辑项目(住宅) |
| | | /// </summary> |
| | | public static string EditHome = API_APP + "EditHome"; |
| | | ///// <summary> |
| | | ///// 1.83 编辑项目(住宅) |
| | | ///// </summary> |
| | | //public static string EditHome = API_APP + "EditHome"; |
| | | |
| | | /// <summary> |
| | | /// 1.84 获取项目 (住宅)分页 |
| | | /// </summary> |
| | | public static string GetHomePager = API_APP + "GetHomePager"; |
| | | ///// <summary> |
| | | ///// 1.84 获取项目 (住宅)分页 |
| | | ///// </summary> |
| | | //public static string GetHomePager = API_APP + "GetHomePager"; |
| | | |
| | | /// <summary> |
| | | /// 1.85 获取控制分享项目(住宅)请求信息 |
| | | /// </summary> |
| | | public static string GetSharedHomeApiControl = API_APP + "GetSharedHomeApiControl"; |
| | | ///// <summary> |
| | | ///// 1.85 获取控制分享项目(住宅)请求信息 |
| | | ///// </summary> |
| | | //public static string GetSharedHomeApiControl = API_APP + "GetSharedHomeApiControl"; |
| | | |
| | | |
| | | #endregion |
| | |
| | | /// 4.11 同时添加场景 和 设备 |
| | | /// </summary> |
| | | public static string AddSceneAndDeviceList = API_Device + "AddSceneAndDeviceList"; |
| | | |
| | | |
| | | |
| | | #endregion |
| | | #region EmqMqtt 部分 |
| | | //***************************EmqMqtt 部分******************************** |
| | | public static string API_EmqMqtt = "/EmqMqtt/"; |
| | | |
| | | /// <summary> |
| | | /// 5.03 获取分享者Mqtt远程控制信息(Emq版本) |
| | | /// </summary> |
| | | public static string ShareMemberConnMqttInfo = API_EmqMqtt + "ShareMemberConnMqttInfo"; |
| | | |
| | | /// <summary> |
| | | /// 客户端获取连接云端Mqtt信息 |
| | | /// Connection |
| | | /// </summary> |
| | | public static string GetConnMqttInfo = API_EmqMqtt + "GetConnMqttInfo"; |
| | | |
| | | |
| | | #endregion |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 上传大文件手动备份 |
| | | /// </summary> |
| | | [System.Serializable] |
| | | public class UploadHomeAppGatewaySubFilesBigObj : BaseAccountCtrlObj |
| | | { |
| | | |
| | | /// <summary> |
| | | /// 备份名的Id |
| | | /// </summary> |
| | | public string BackupClassId; |
| | | |
| | | /// <summary> |
| | | /// ManualBackupType 手动备份类型(0:App手动备份,2:网关手动备份,4:公共备份) 默认值: 0 |
| | | /// </summary> |
| | | public int ManualBackupType = 0; |
| | | |
| | | /// <summary> |
| | | /// 所上传的文件名(文件内容请通过写入http body里) |
| | | /// </summary> |
| | | public string FileName; |
| | | } |
| | | } |