using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; using GDNXFD.Data; namespace GDNXFD.WcfService { // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together. [ServiceContract] public interface IAlertService { [OperationContract] string GetData(int value); #region 报警模块 [OperationContract] IList GetAlertInfos(); [OperationContract] IList GetAlertInfosPage(string filter, int pageIndex, int pageSize, ref int total); [OperationContract] IList GetIFixBjPage(string filter, int pageIndex, int pageSize, ref int total); [OperationContract] IList GetAlertSnaps(); [OperationContract] IList GetLatestAlertSnaps(int count); [OperationContract] IList GetLatestShutdownEvents(); [OperationContract] IList GetClosedAlertSnaps(); [OperationContract] IList GetDataDictionary(); [OperationContract] IList GetAlertSnaps2(string stationId, string rank, string category, string category2, string filter, string status); [OperationContract] void ConfirmAlert(long alertResultId); [OperationContract] void ConfirmAlertPage(string[] ids); [OperationContract] void ConfirmAllAlert(); [OperationContract] IList GetStationPieChartData(); [OperationContract] IList GetRankListData(); [OperationContract] IList GetWindturbineAlertInfoByPage(string filter, int pageIndex, int pageSize, ref int total); #endregion #region 故障Fault [OperationContract] IList GetRealTimeFaultInfos(); [OperationContract] IList GetLatestFaultInfos(int count); [OperationContract] IList GetFaultInfosByIdList(IList idList); [OperationContract] IList GetFaultSnapByIdList(IList snapIdList); [OperationContract] IList GetRealTimeFaultSnaps(); [OperationContract] IList GetFaultInfosPage(string filter, int pageIndex, int pageSize, ref int total); //1-确认 2-复位 3-生成缺陷单 [OperationContract] void ConfirmFault(long id, int confirmType, string confirmPerson,long alertSnapId); [OperationContract] IList getUnabledResetWarning(); #endregion #region 通用 [OperationContract] IList GetFDCWindturbinies(); [OperationContract] IList GetWindPowerStations(); [OperationContract] IList GetProjects(); [OperationContract] IList GetLines(); [OperationContract] IList GetTestingPoints(PointType ptype, string[] uniformcodes); #endregion } }