123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- 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<AlertInfo> GetAlertInfos();
- [OperationContract]
- IList<AlertInfo> GetAlertInfosPage(string filter, int pageIndex, int pageSize, ref int total);
- [OperationContract]
- IList<IFixBJTestingPointDI> GetIFixBjPage(string filter, int pageIndex, int pageSize, ref int total);
- [OperationContract]
- IList<AlertSnap> GetAlertSnaps();
- [OperationContract]
- IList<AlertSnap> GetLatestAlertSnaps(int count);
- [OperationContract]
- IList<ShutdownEvent> GetLatestShutdownEvents();
- [OperationContract]
- IList<AlertSnap> GetClosedAlertSnaps();
- [OperationContract]
- IList<DictItem> GetDataDictionary();
- [OperationContract]
- IList<AlertSnap> 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<RankingModel> GetStationPieChartData();
- [OperationContract]
- IList<RankingModel> GetRankListData();
- [OperationContract]
- IList<AlertInfo> GetWindturbineAlertInfoByPage(string filter, int pageIndex, int pageSize, ref int total);
- #endregion
- #region 故障Fault
- [OperationContract]
- IList<FaultInfo> GetRealTimeFaultInfos();
- [OperationContract]
- IList<FaultInfo> GetLatestFaultInfos(int count);
- [OperationContract]
- IList<FaultInfo> GetFaultInfosByIdList(IList<long> idList);
- [OperationContract]
- IList<FaultSnap> GetFaultSnapByIdList(IList<long> snapIdList);
- [OperationContract]
- IList<FaultSnap> GetRealTimeFaultSnaps();
- [OperationContract]
- IList<FaultInfo> 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<Warning> getUnabledResetWarning();
- #endregion
- #region 通用
- [OperationContract]
- IList<WindTurbine> GetFDCWindturbinies();
- [OperationContract]
- IList<WindPowerStation> GetWindPowerStations();
- [OperationContract]
- IList<Project> GetProjects();
- [OperationContract]
- IList<Line> GetLines();
- [OperationContract]
- IList<PointMapModel> GetTestingPoints(PointType ptype, string[] uniformcodes);
- #endregion
-
- }
- }
|