2024-10-18 18:41:02 +08:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using YunDa.ISAS.Application.Core;
|
|
|
|
|
using YunDa.ISAS.DataTransferObject;
|
|
|
|
|
using YunDa.ISAS.DataTransferObject.CommonDto;
|
|
|
|
|
using YunDa.SOMS.DataTransferObject.GeneralInformation.ProtectionDeviceInfoDto;
|
|
|
|
|
using YunDa.SOMS.DataTransferObject.GeneralInformation.ProtectionDeviceInfoDto.HistoryData;
|
|
|
|
|
using YunDa.SOMS.DataTransferObject.GeneralInformation.ProtectionDeviceInfoDto.SearchCondition;
|
2024-12-06 16:32:13 +08:00
|
|
|
|
using YunDa.SOMS.DataTransferObject.MainStationMaintenanceInfo.OperationReport;
|
2024-10-18 18:41:02 +08:00
|
|
|
|
|
|
|
|
|
namespace YunDa.ISAS.Application.GeneralInformation
|
|
|
|
|
{
|
|
|
|
|
public interface IProtectionDeviceAppService : IAppServiceBase<ProtectionDeviceInfoSearchConditionInput, ProtectionDeviceInfoViewOutput, EditProtectionDeviceInfoInput, Guid>
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 查询保护设备信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="equipmentInfoId"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
RequestResult<ProtectionDeviceInfoViewOutput> FindDataByEquipmentInfoId(Guid? equipmentInfoId);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 查询历史保护装置信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="equipmentInfoId"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
RequestResult<List<ProtectionDeviceHistoryOutput>> FindHistoryDataByEquipmentInfoId(Guid? equipmentInfoId);
|
2024-12-12 17:18:43 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 查询历史保护装置版本信息
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="equipmentInfoId"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
RequestResult<List<ProtectionDeviceSolfVersionOutput>> FindHistorySoftVersionDataByEquipmentInfoId(Guid? equipmentInfoId);
|
2024-10-18 18:41:02 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取所有保护装置
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="stationId"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
RequestResult<List<SelectModelOutput>> FindProtectionDeviceForSelect(Guid stationId);
|
2024-12-06 16:32:13 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取装置事件类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="deviceAddr"></param>
|
|
|
|
|
/// <param name="eventCode"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
RequestResult<EquipmentInfoAbnormalComponent> GetDeviceEventType(int deviceAddr, int eventCode);
|
2024-10-18 18:41:02 +08:00
|
|
|
|
}
|
|
|
|
|
}
|