using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; using GDNXFD.Data; using GDNXFD.Data.Model; 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 IAdviceService { /// /// 获取计算结果 /// /// 风场编号 /// 动作类型 /// [OperationContract] IList GetAdvice(string stationId, OperateStyle? adviseOperation = null); /// /// 客户端动作回馈 /// /// /// /// /// [OperationContract] bool ExecuteAdvice(IList executeList, string userId, string userName); /// /// 计算结果回放 /// /// 条件 /// 页码 /// 页面大小 /// 总数量 /// [OperationContract] IList GetAdviceHistoryPage(string filter, int pageIndex, int pageSize, ref int total); /// /// 测试方法 /// /// /// [OperationContract] string GetTest(string s); } }