| | |
| | | |
| | | } |
| | | [HttpPost, Route("AddAlarmHsy")] |
| | | public WebResponseContent AddAlarmHsy(string alarmContent, bool resetStatus) |
| | | public WebResponseContent AddAlarmHsy(int deptid, string alarmContent, bool resetStatus) |
| | | { |
| | | return Service.AddAlarmHsy(alarmContent, resetStatus); |
| | | return Service.AddAlarmHsy(deptid,alarmContent, resetStatus); |
| | | } |
| | | |
| | | |
| | |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("GetWebSocketInfo")] |
| | | public WebResponseContent GetWebSocketInfo() |
| | | public WebResponseContent GetWebSocketInfo(int deptid) |
| | | { |
| | | return Service.GetWebSocketInfo(); |
| | | return Service.GetWebSocketInfo(deptid); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | /// <param name="status"></param> |
| | | [HttpPost, Route("BecomeTrue")] |
| | | public WebResponseContent BecomeTrue(string account) |
| | | public WebResponseContent BecomeTrue() |
| | | { |
| | | return Service.BecomeTrue(account); |
| | | return Service.BecomeTrue(); |
| | | } |
| | | |
| | | |
| | |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 删除该轨道站的报警信号 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("DeleteAllinform")] |
| | | public WebResponseContent DeleteAllinform() |
| | | { |
| | | return Service.DeleteAllinform(); |
| | | } |
| | | |
| | | |
| | | } |
| | | } |