diff --git a/src/YunDa.Application/YunDa.ISAS.Application/GeneralInformation/EquipmentInfo/EquipmentInfoExAppService.cs b/src/YunDa.Application/YunDa.ISAS.Application/GeneralInformation/EquipmentInfo/EquipmentInfoExAppService.cs index 3adb498..425aada 100644 --- a/src/YunDa.Application/YunDa.ISAS.Application/GeneralInformation/EquipmentInfo/EquipmentInfoExAppService.cs +++ b/src/YunDa.Application/YunDa.ISAS.Application/GeneralInformation/EquipmentInfo/EquipmentInfoExAppService.cs @@ -687,6 +687,7 @@ namespace YunDa.ISAS.Application.GeneralInformation return rst; } + } } diff --git a/src/YunDa.Application/YunDa.ISAS.Application/GeneralInformation/ProtectionDevice/ProtectionDeviceAppService.cs b/src/YunDa.Application/YunDa.ISAS.Application/GeneralInformation/ProtectionDevice/ProtectionDeviceAppService.cs index dd5f539..13aef20 100644 --- a/src/YunDa.Application/YunDa.ISAS.Application/GeneralInformation/ProtectionDevice/ProtectionDeviceAppService.cs +++ b/src/YunDa.Application/YunDa.ISAS.Application/GeneralInformation/ProtectionDevice/ProtectionDeviceAppService.cs @@ -892,9 +892,10 @@ namespace YunDa.ISAS.Application.GeneralInformation [AbpAllowAnonymous] [HttpGet] [DisableAuditing] - public RequestResult GetDeviceEventType(int deviceAddr,int eventCode) + + public RequestResult GetDeviceEventType(int deviceAddr,int eventCode) { - RequestResult rst= new RequestResult(); + RequestResult rst= new RequestResult(); try { var device = _imProtectDeviceRepository.GetAll().FirstOrDefault(t => t.DeviceAddr == deviceAddr); @@ -903,11 +904,11 @@ namespace YunDa.ISAS.Application.GeneralInformation var imEvent = _imEventTypeRepository.GetAll().FirstOrDefault(t=>t.Id == eventCode&&t.PuctgyCode == device.PuctgyCode); if (imEvent!=null) { - AbnormalComponent abnormalComponent = new AbnormalComponent() + EquipmentInfoAbnormalComponent abnormalComponent = new EquipmentInfoAbnormalComponent() { ComponentName = device.DeviceName, AbnormalReason = imEvent.EvtName, - HandlingMeasures ="" + HandlingMeasures ="", }; rst.ResultData = abnormalComponent; rst.Flag = true;