diff --git a/Service/Plc/Handler/SummaryFailuresReqHandler.cs b/Service/Plc/Handler/SummaryFailuresReqHandler.cs index 7e263c6..229b34e 100644 --- a/Service/Plc/Handler/SummaryFailuresReqHandler.cs +++ b/Service/Plc/Handler/SummaryFailuresReqHandler.cs @@ -22,6 +22,15 @@ namespace Service.Charger.Handler; [Scope("InstancePerDependency")] public class SummaryFailuresReqHandler : SimpleChannelInboundHandler, IBaseHandler { + public SummaryFailuresReqHandler(EquipAlarmDefineRepository equipAlarmDefineRepository, + EquipAlarmRecordRepository equipAlarmRecordRepository, + EquipAlarmProcessRecordRepository equipAlarmProcessRecordRepository + ) + { + EquipAlarmDefineRepository = equipAlarmDefineRepository; + EquipAlarmRecordRepository = equipAlarmRecordRepository; + EquipAlarmProcessRecordRepository = equipAlarmProcessRecordRepository; + } private EquipAlarmDefineRepository EquipAlarmDefineRepository { get; set; } private EquipAlarmRecordRepository EquipAlarmRecordRepository { get; set; } private EquipAlarmProcessRecordRepository EquipAlarmProcessRecordRepository { get; set; }