From ec7ef01d2cf8423cd256a0b5a55de8d9d782711a Mon Sep 17 00:00:00 2001 From: CZ Date: Sat, 21 Sep 2024 14:37:04 +0800 Subject: [PATCH] 1 --- Service/Plc/Handler/SummaryFailuresReqHandler.cs | 9 +++++++++ 1 file changed, 9 insertions(+) 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; }