Browse Source

[新增]点位绑定接口

develop
yuhonglei 12 months ago
parent
commit
de5d65ee8f
  1. 20
      Assets/Scripts/Manager/HttpManager.cs

20
Assets/Scripts/Manager/HttpManager.cs

@ -588,7 +588,25 @@ public class HttpManager : Singleton<HttpManager>
{
get { return $"{Config.ServerAddress}/api/AutomaticSprinklers?name={Config.CompanyName}"; }
}
/// <summary>
/// 点位绑定
/// </summary>
public string GetAllIOilTank
{
get { return $"{Config.ServerAddress}/api/OilTank?name={Config.CompanyName}"; }
}
public string PostAllIOilTank
{
get { return $"{Config.ServerAddress}/api/OilTank?name={Config.CompanyName}"; }
}
public string GetOilTankById
{
get { return $"{Config.ServerAddress}/api/OilTank/{{0}}?name={Config.CompanyName}"; }
}
public string PostIOilTankById
{
get { return $"{Config.ServerAddress}/api/OilTank/{{0}}?name={Config.CompanyName}"; }
}
/// <summary>
/// 获取设备模型
/// </summary>

Loading…
Cancel
Save