This commit is contained in:
2025-09-01 16:43:57 +08:00
40 changed files with 6000 additions and 103 deletions
@@ -0,0 +1,31 @@
using System;
using System.Web.Http;
using BLL;
namespace WebAPI.Controllers.JDGL
{
public class SGManPowerController : ApiController
{
/// <summary>
/// 人力预警
/// </summary>
/// <returns></returns>
[HttpPost]
public Model.ResponeData ManPowerWarning()
{
var responeData = new Model.ResponeData();
try
{
responeData = SGManPowerService.CheckAndSendPersonWarning();
}
catch (Exception ex)
{
responeData.code = 0;
responeData.message = ex.ToString();
}
return responeData;
}
}
}
+1
View File
@@ -168,6 +168,7 @@
<Compile Include="Controllers\HSSE\TestingController.cs" />
<Compile Include="Controllers\HSSE\TowerCraneController.cs" />
<Compile Include="Controllers\IDP\IDPController.cs" />
<Compile Include="Controllers\JDGL\SGManPowerController.cs" />
<Compile Include="Controllers\JGZL\JGZLController.cs" />
<Compile Include="Controllers\Person\PersonCheckController.cs" />
<Compile Include="Controllers\CQMS\CheckEquipmentController.cs" />