|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
using HybirdFrameworkCore.Entity;
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
using Service.FireControl.Client;
|
|
|
|
|
using Service.FireControl.Msg;
|
|
|
|
|
|
|
|
|
|
namespace WebStarter.Controllers;
|
|
|
|
|
|
|
|
|
@ -178,5 +179,84 @@ public class FireControlController
|
|
|
|
|
{
|
|
|
|
|
return Result<bool>.Success(FireControlMgr.AutomaticModeOff());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取读取到的信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpGet("GetSubzone2")]
|
|
|
|
|
public Result<Subzone2> GetSubzone2()
|
|
|
|
|
{
|
|
|
|
|
return Result<Subzone2>.Success(FireControlMgr.Subzone2);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取读取到的信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpGet("GetSubzone3")]
|
|
|
|
|
public Result<Subzone3> GetSubzone3()
|
|
|
|
|
{
|
|
|
|
|
return Result<Subzone3>.Success(FireControlMgr.Subzone3);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取读取到的信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpGet("GetSubzone4")]
|
|
|
|
|
public Result<Subzone4> GetSubzone4()
|
|
|
|
|
{
|
|
|
|
|
return Result<Subzone4>.Success(FireControlMgr.Subzone4);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取读取到的信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpGet("GetSubzone5")]
|
|
|
|
|
public Result<Subzone5> GetSubzone5()
|
|
|
|
|
{
|
|
|
|
|
return Result<Subzone5>.Success(FireControlMgr.Subzone5);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取读取到的信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpGet("GetSubzone2")]
|
|
|
|
|
public Result<Subzone6> GetSubzone6()
|
|
|
|
|
{
|
|
|
|
|
return Result<Subzone6>.Success(FireControlMgr.Subzone6);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取读取到的信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpGet("GetSubzone7")]
|
|
|
|
|
public Result<Subzone7> GetSubzone7()
|
|
|
|
|
{
|
|
|
|
|
return Result<Subzone7>.Success(FireControlMgr.Subzone7);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取读取到的信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpGet("GetSubzone2")]
|
|
|
|
|
public Result<Subzone8> GetSubzone8()
|
|
|
|
|
{
|
|
|
|
|
return Result<Subzone8>.Success(FireControlMgr.Subzone8);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取读取到的信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpGet("GetSubzone9")]
|
|
|
|
|
public Result<Subzone9> GetSubzone9()
|
|
|
|
|
{
|
|
|
|
|
return Result<Subzone9>.Success(FireControlMgr.Subzone9);
|
|
|
|
|
}
|
|
|
|
|
}
|