You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.0 KiB
36 lines
1.0 KiB
4 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Runtime.Serialization;
|
||
|
using System.ServiceModel;
|
||
|
using System.Text;
|
||
|
|
||
|
namespace QMFrameWork.WebServiceHost
|
||
|
{
|
||
|
// 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码和配置文件中的接口名“IGeneralService”。
|
||
|
[ServiceContract]
|
||
|
public interface IGeneralService
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 接收服务请求
|
||
|
/// </summary>
|
||
|
/// <param name="request">请求(不支持复杂类型)</param>
|
||
|
/// <returns>返回结果(不支持复杂类型)</returns>
|
||
|
[OperationContract]
|
||
|
string RecevieRequest(string request);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 获取服务列表
|
||
|
/// </summary>
|
||
|
/// <returns>服务列表</returns>
|
||
|
[OperationContract]
|
||
|
string[] GetServiceList();
|
||
|
|
||
|
/// <summary>
|
||
|
/// 刷新数据锁定标志
|
||
|
/// </summary>
|
||
|
[OperationContract]
|
||
|
void RefreshDataLock();
|
||
|
}
|
||
|
}
|