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.
59 lines
1.5 KiB
59 lines
1.5 KiB
4 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Runtime.Serialization;
|
||
|
using System.ServiceModel;
|
||
|
using System.Text;
|
||
|
using QMAPP.FJC.Entity.Basic;
|
||
|
|
||
|
namespace QMFrameWork.WebServiceHost
|
||
|
{
|
||
|
// 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码和配置文件中的接口名“IOpcService”。
|
||
|
|
||
|
[ServiceContract]
|
||
|
public interface IOpcService
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 获取所有的设备信息
|
||
|
/// </summary>
|
||
|
/// <returns></returns>
|
||
|
[OperationContract]
|
||
|
string GetMachineList();
|
||
|
|
||
|
|
||
|
/// <summary>
|
||
|
/// 获取所有的opc配置信息
|
||
|
/// </summary>
|
||
|
/// <returns></returns>
|
||
|
[OperationContract]
|
||
|
string GetParaConfigList();
|
||
|
|
||
|
/// <summary>
|
||
|
/// 获取所有的opc配置信息
|
||
|
/// </summary>
|
||
|
/// <returns></returns>
|
||
|
[OperationContract]
|
||
|
string GetSendOrderConfigList();
|
||
|
|
||
|
/// <summary>
|
||
|
/// 向服务端发送参数信息
|
||
|
/// </summary>
|
||
|
/// <param name="paraList"></param>
|
||
|
//采用异步调用
|
||
|
[OperationContract(IsOneWay = true)]
|
||
|
//[OperationContract]
|
||
|
void SubmitParameters(string paraList);
|
||
|
|
||
|
/// <summary>
|
||
|
/// 向服务端发送参数信息
|
||
|
/// </summary>
|
||
|
/// <param name="paraList"></param>
|
||
|
//采用异步调用
|
||
|
[OperationContract(IsOneWay = true)]
|
||
|
//[OperationContract]
|
||
|
void SubmitInterruptParameters(string paraList);
|
||
|
|
||
|
|
||
|
}
|
||
|
}
|