You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
864 B
30 lines
864 B
using Common.Shared.Application.DaHua; |
|
|
|
namespace Alarm.DomainService.DahAlarm |
|
{ |
|
/// <summary> |
|
/// 大华icc平台总接口 |
|
/// </summary> |
|
public interface IDahuaGeneralCtlService |
|
{ |
|
/// <summary> |
|
/// 新增订阅报警事件 |
|
/// </summary> |
|
/// <param name="dto"></param> |
|
/// <returns></returns> |
|
Task<DaHApiResult<object>> AddSubscribeEvent(); |
|
|
|
Task<bool> DeleteEvent(string name); |
|
|
|
Task<DaHApiResult<SubscriptionMapDto>> GetEventList(string name = "alarm"); |
|
|
|
/// <summary> |
|
/// AddSubscribeEvent回调函数处理 |
|
/// </summary> |
|
/// <param name="alarm"></param> |
|
/// <param name="env"></param> |
|
/// <param name="ct"></param> |
|
/// <returns></returns> |
|
Task<DaHApiResult<bool>> HandleAsync(EventEnvelopeDto env); |
|
} |
|
} |