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.
82 lines
4.2 KiB
82 lines
4.2 KiB
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 此代码由工具生成。
|
|
// 运行时版本:4.0.30319.237
|
|
//
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
// 重新生成代码,这些更改将会丢失。
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace QMAPP.WinForm.ServiceOpc {
|
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="ServiceOpc.IOpcService", CallbackContract=typeof(QMAPP.WinForm.ServiceOpc.IOpcServiceCallback), SessionMode=System.ServiceModel.SessionMode.Required)]
|
|
public interface IOpcService {
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOpcService/Register", ReplyAction="http://tempuri.org/IOpcService/RegisterResponse")]
|
|
int Register(string machineNo);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(IsTerminating=true, IsInitiating=false, Action="http://tempuri.org/IOpcService/Logout", ReplyAction="http://tempuri.org/IOpcService/LogoutResponse")]
|
|
int Logout(string machineNo);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOpcService/SendOperateOrder", ReplyAction="http://tempuri.org/IOpcService/SendOperateOrderResponse")]
|
|
void SendOperateOrder(string configStr);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(IsTerminating=true, IsInitiating=false, Action="http://tempuri.org/IOpcService/UpdateClientInfo", ReplyAction="http://tempuri.org/IOpcService/UpdateClientInfoResponse")]
|
|
int UpdateClientInfo(string machineNo);
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
public interface IOpcServiceCallback {
|
|
|
|
[System.ServiceModel.OperationContractAttribute(IsOneWay=true, Action="http://tempuri.org/IOpcService/ReturnResult")]
|
|
void ReturnResult(string messageType, string message);
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
public interface IOpcServiceChannel : QMAPP.WinForm.ServiceOpc.IOpcService, System.ServiceModel.IClientChannel {
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
public partial class OpcServiceClient : System.ServiceModel.DuplexClientBase<QMAPP.WinForm.ServiceOpc.IOpcService>, QMAPP.WinForm.ServiceOpc.IOpcService {
|
|
|
|
public OpcServiceClient(System.ServiceModel.InstanceContext callbackInstance) :
|
|
base(callbackInstance) {
|
|
}
|
|
|
|
public OpcServiceClient(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName) :
|
|
base(callbackInstance, endpointConfigurationName) {
|
|
}
|
|
|
|
public OpcServiceClient(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, string remoteAddress) :
|
|
base(callbackInstance, endpointConfigurationName, remoteAddress) {
|
|
}
|
|
|
|
public OpcServiceClient(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
base(callbackInstance, endpointConfigurationName, remoteAddress) {
|
|
}
|
|
|
|
public OpcServiceClient(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
base(callbackInstance, binding, remoteAddress) {
|
|
}
|
|
|
|
public int Register(string machineNo) {
|
|
return base.Channel.Register(machineNo);
|
|
}
|
|
|
|
public int Logout(string machineNo) {
|
|
return base.Channel.Logout(machineNo);
|
|
}
|
|
|
|
public void SendOperateOrder(string configStr) {
|
|
base.Channel.SendOperateOrder(configStr);
|
|
}
|
|
|
|
public int UpdateClientInfo(string machineNo) {
|
|
return base.Channel.UpdateClientInfo(machineNo);
|
|
}
|
|
}
|
|
}
|
|
|