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 { #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 GetAlertInfos() { return base.Channel.GetAlertInfos(); } public IList GetAlertInfosPage(string filter, int pageIndex, int pageSize, ref int total) { return base.Channel.GetAlertInfosPage(filter, pageIndex, pageSize, ref total); } public IList GetIFixBjPage(string filter, int pageIndex, int pageSize, ref int total) { return base.Channel.GetIFixBjPage(filter, pageIndex, pageSize, ref total); } public IList GetAlertSnaps() { return base.Channel.GetAlertSnaps(); } public IList GetLatestAlertSnaps(int count) { return base.Channel.GetLatestAlertSnaps(count); } public IList GetLatestShutdownEvents() { return base.Channel.GetLatestShutdownEvents(); } public IList GetClosedAlertSnaps() { return base.Channel.GetClosedAlertSnaps(); } public IList GetDataDictionary() { return base.Channel.GetDataDictionary(); } public IList 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 GetStationPieChartData() { return base.Channel.GetStationPieChartData(); } public IList GetRankListData() { return base.Channel.GetRankListData(); } public IList GetFDCWindturbinies() { return base.Channel.GetFDCWindturbinies(); } public IList GetWindPowerStations() { return base.Channel.GetWindPowerStations(); } public IList GetProjects() { return base.Channel.GetProjects(); } public IList GetLines() { return base.Channel.GetLines(); } public IList GetTestingPoints(PointType ptype, string[] uniformcodes) { return base.Channel.GetTestingPoints(ptype, uniformcodes); } #region 故障fault public IList GetRealTimeFaultInfos() { return base.Channel.GetRealTimeFaultInfos(); } public IList GetLatestFaultInfos(int count) { return base.Channel.GetLatestFaultInfos(count); } public IList GetRealTimeFaultSnaps() { return base.Channel.GetRealTimeFaultSnaps(); } public IList 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 getUnabledResetWarning() { return base.Channel.getUnabledResetWarning(); } public IList 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 GetFaultInfosByIdList(IList idList) { throw new NotImplementedException(); } public IList GetFaultSnapByIdList(IList snapIdList) { throw new NotImplementedException(); } public void ConfirmFault(long id, int confirmType, string confirmPerson, long alertSnapId) { throw new NotImplementedException(); } #endregion #endregion } }