| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 在检修人员监控 |
| | | /// 在检修人员监控(数字大屏) |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("PersonnelMonitoring"), AllowAnonymous] |
| | |
| | | |
| | | |
| | | /// <summary> |
| | | /// 更改状态,运行进入检修 |
| | | /// 更改状态,强制下线 |
| | | /// </summary> |
| | | /// <param name="id"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("RunOperation"), AllowAnonymous] |
| | | public WebResponseContent RunOperation(int id, string ispossible) |
| | | public WebResponseContent RunOperation(int id, string LocalIP) |
| | | { |
| | | // |
| | | return Service.RunOperation(id, ispossible); |
| | | var userIp = HttpContext.GetUserIp();//用户电脑ip |
| | | var reslut = userIp.Replace("::ffff:", " "); |
| | | return Service.RunOperation(id, LocalIP); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | { |
| | | return Service.StopMaintenanceTask(account); |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 展示开始检修人员 |
| | | /// </summary> |
| | | /// <param name="status">检修状态</param> |
| | | /// <returns></returns> |
| | | [HttpPost,Route("YShowStartTake")] |
| | | public WebResponseContent YShowStartTake() |
| | | { |
| | | return Service.YShowStartTake(); |
| | | } |
| | | |
| | | } |
| | | } |