123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- using GDNXFD.Data;
- using System.Collections.Generic;
- using System;
- namespace IntelligentControlForsx
- {
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class AlertServiceClient : System.ServiceModel.ClientBase<GDNXFD.WcfService.IAlertService>, GDNXFD.WcfService.IAlertService
- {
- #region 构造方法
- public AlertServiceClient()
- {
- }
- public AlertServiceClient(string endpointConfigurationName) :
- base(endpointConfigurationName)
- {
- }
- public AlertServiceClient(string endpointConfigurationName, string remoteAddress) :
- base(endpointConfigurationName, remoteAddress)
- {
- }
- public AlertServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
- base(endpointConfigurationName, remoteAddress)
- {
- }
- public AlertServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
- base(binding, remoteAddress)
- {
- }
- #endregion
- #region 协议
- //此处应与WCF服务接口保持一致
- public string GetData(int value)
- {
- return base.Channel.GetData(value);
- }
- public IList<AlertInfo> GetAlertInfos()
- {
- return base.Channel.GetAlertInfos();
- }
- public IList<AlertInfo> GetAlertInfosPage(string filter, int pageIndex, int pageSize, ref int total)
- {
- return base.Channel.GetAlertInfosPage(filter, pageIndex, pageSize, ref total);
- }
- public IList<IFixBJTestingPointDI> GetIFixBjPage(string filter, int pageIndex, int pageSize, ref int total)
- {
- return base.Channel.GetIFixBjPage(filter, pageIndex, pageSize, ref total);
- }
- public IList<AlertSnap> GetAlertSnaps()
- {
- return base.Channel.GetAlertSnaps();
- }
- public IList<AlertSnap> GetLatestAlertSnaps(int count)
- {
- return base.Channel.GetLatestAlertSnaps(count);
- }
- public IList<ShutdownEvent> GetLatestShutdownEvents()
- {
- return base.Channel.GetLatestShutdownEvents();
- }
- public IList<AlertSnap> GetClosedAlertSnaps()
- {
- return base.Channel.GetClosedAlertSnaps();
- }
- public IList<DictItem> GetDataDictionary()
- {
- return base.Channel.GetDataDictionary();
- }
- public IList<AlertSnap> GetAlertSnaps2(string stationId, string rank, string category, string category2, string filter, string status)
- {
- return base.Channel.GetAlertSnaps2(stationId, rank, category, category2, filter,status);
- }
- public void ConfirmAlert(long alertResultId)
- {
- base.Channel.ConfirmAlert(alertResultId);
- }
- public void ConfirmAlertPage(string[] ids)
- {
- base.Channel.ConfirmAlertPage(ids);
- }
- public void ConfirmAllAlert()
- {
- base.Channel.ConfirmAllAlert();
- }
- public IList<RankingModel> GetStationPieChartData()
- {
- return base.Channel.GetStationPieChartData();
- }
- public IList<RankingModel> GetRankListData()
- {
- return base.Channel.GetRankListData();
- }
- public IList<WindTurbine> GetFDCWindturbinies()
- {
- return base.Channel.GetFDCWindturbinies();
- }
- public IList<WindPowerStation> GetWindPowerStations()
- {
- return base.Channel.GetWindPowerStations();
- }
- public IList<Project> GetProjects()
- {
- return base.Channel.GetProjects();
- }
- public IList<Line> GetLines()
- {
- return base.Channel.GetLines();
- }
- public IList<PointMapModel> GetTestingPoints(PointType ptype, string[] uniformcodes)
- {
- return base.Channel.GetTestingPoints(ptype, uniformcodes);
- }
- #region 故障fault
- public IList<FaultInfo> GetRealTimeFaultInfos()
- {
- return base.Channel.GetRealTimeFaultInfos();
- }
- public IList<FaultInfo> GetLatestFaultInfos(int count)
- {
- return base.Channel.GetLatestFaultInfos(count);
- }
- public IList<FaultSnap> GetRealTimeFaultSnaps()
- {
- return base.Channel.GetRealTimeFaultSnaps();
- }
- public IList<FaultInfo> GetFaultInfosPage(string filter, int pageIndex, int pageSize, ref int total)
- {
- return base.Channel.GetFaultInfosPage(filter, pageIndex, pageSize, ref total);
- }
- //1-确认 2-复位 3-生成缺陷单
- public void ConfirmFault(long id, int confirmType, string confirmPerson)
- {
- base.Channel.ConfirmFault(id, confirmType, confirmPerson,0);
- }
- public IList<Warning> getUnabledResetWarning()
- {
- return base.Channel.getUnabledResetWarning();
- }
- public IList<AlertInfo> GetWindturbineAlertInfoByPage(string filter, int pageIndex, int pageSize, ref int total)
- {
- throw new NotImplementedException();
- }
- public bool DefectBill(FaultInfo info, string userName)
- {
- throw new NotImplementedException();
- }
- public IList<FaultInfo> GetFaultInfosByIdList(IList<long> idList)
- {
- throw new NotImplementedException();
- }
- public IList<FaultSnap> GetFaultSnapByIdList(IList<long> snapIdList)
- {
- throw new NotImplementedException();
- }
- public void ConfirmFault(long id, int confirmType, string confirmPerson, long alertSnapId)
- {
- throw new NotImplementedException();
- }
- #endregion
- #endregion
- }
- }
|