You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

290 lines
17 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*
此代码由Rpc工具直接生成非必要请不要修改此处代码
*/
#pragma warning disable
using System;
using TouchSocket.Core;
using TouchSocket.Sockets;
using TouchSocket.Rpc;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Threading.Tasks;
namespace WebApiProxy
{
public interface IApiServer:TouchSocket.Rpc.IRemoteServer
{
///<summary>
///无注释信息
///</summary>
/// <exception cref="System.TimeoutException">调用超时</exception>
/// <exception cref="TouchSocket.Rpc.RpcInvokeException">Rpc调用异常</exception>
/// <exception cref="System.Exception">其他异常</exception>
SlnMesnac.RfidUpload.Model.apiParam.ApiResult getScanInfoInCenterStart(System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.InStoreParam containerRegisterQuery,IInvokeOption invokeOption = default);
///<summary>
///无注释信息
///</summary>
/// <exception cref="System.TimeoutException">调用超时</exception>
/// <exception cref="TouchSocket.Rpc.RpcInvokeException">Rpc调用异常</exception>
/// <exception cref="System.Exception">其他异常</exception>
Task<SlnMesnac.RfidUpload.Model.apiParam.ApiResult> getScanInfoInCenterStartAsync(System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.InStoreParam containerRegisterQuery,IInvokeOption invokeOption = default);
///<summary>
///无注释信息
///</summary>
/// <exception cref="System.TimeoutException">调用超时</exception>
/// <exception cref="TouchSocket.Rpc.RpcInvokeException">Rpc调用异常</exception>
/// <exception cref="System.Exception">其他异常</exception>
SlnMesnac.RfidUpload.Model.apiParam.ApiResult getScanInfoInCenterStop(System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.InStoreParam containerRegisterQuery,IInvokeOption invokeOption = default);
///<summary>
///无注释信息
///</summary>
/// <exception cref="System.TimeoutException">调用超时</exception>
/// <exception cref="TouchSocket.Rpc.RpcInvokeException">Rpc调用异常</exception>
/// <exception cref="System.Exception">其他异常</exception>
Task<SlnMesnac.RfidUpload.Model.apiParam.ApiResult> getScanInfoInCenterStopAsync(System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.InStoreParam containerRegisterQuery,IInvokeOption invokeOption = default);
///<summary>
///无注释信息
///</summary>
/// <exception cref="System.TimeoutException">调用超时</exception>
/// <exception cref="TouchSocket.Rpc.RpcInvokeException">Rpc调用异常</exception>
/// <exception cref="System.Exception">其他异常</exception>
SlnMesnac.RfidUpload.Model.apiParam.ApiResult getScanInfoOutCenterStart(System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.OutStoreParam containerRegisterQuery,IInvokeOption invokeOption = default);
///<summary>
///无注释信息
///</summary>
/// <exception cref="System.TimeoutException">调用超时</exception>
/// <exception cref="TouchSocket.Rpc.RpcInvokeException">Rpc调用异常</exception>
/// <exception cref="System.Exception">其他异常</exception>
Task<SlnMesnac.RfidUpload.Model.apiParam.ApiResult> getScanInfoOutCenterStartAsync(System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.OutStoreParam containerRegisterQuery,IInvokeOption invokeOption = default);
///<summary>
///无注释信息
///</summary>
/// <exception cref="System.TimeoutException">调用超时</exception>
/// <exception cref="TouchSocket.Rpc.RpcInvokeException">Rpc调用异常</exception>
/// <exception cref="System.Exception">其他异常</exception>
SlnMesnac.RfidUpload.Model.apiParam.ApiResult getScanInfoOutCenterStop(System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.OutStoreParam containerRegisterQuery,IInvokeOption invokeOption = default);
///<summary>
///无注释信息
///</summary>
/// <exception cref="System.TimeoutException">调用超时</exception>
/// <exception cref="TouchSocket.Rpc.RpcInvokeException">Rpc调用异常</exception>
/// <exception cref="System.Exception">其他异常</exception>
Task<SlnMesnac.RfidUpload.Model.apiParam.ApiResult> getScanInfoOutCenterStopAsync(System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.OutStoreParam containerRegisterQuery,IInvokeOption invokeOption = default);
}
public class ApiServer :IApiServer
{
public ApiServer(IRpcClient client)
{
this.Client=client;
}
public IRpcClient Client{get;private set; }
///<summary>
///无注释信息
///</summary>
/// <exception cref="System.TimeoutException">调用超时</exception>
/// <exception cref="TouchSocket.Rpc.RpcInvokeException">Rpc调用异常</exception>
/// <exception cref="System.Exception">其他异常</exception>
public SlnMesnac.RfidUpload.Model.apiParam.ApiResult getScanInfoInCenterStart(System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.InStoreParam containerRegisterQuery,IInvokeOption invokeOption = default)
{
if(Client==null)
{
throw new RpcException("IRpcClient为空请先初始化或者进行赋值");
}
object[] parameters = new object[]{messageHeader,containerRegisterQuery};
SlnMesnac.RfidUpload.Model.apiParam.ApiResult returnData=(SlnMesnac.RfidUpload.Model.apiParam.ApiResult)Client.Invoke(typeof(SlnMesnac.RfidUpload.Model.apiParam.ApiResult),"POST:/apiserver/getscaninfoincenterstart?messageHeader={0}",invokeOption, parameters);
return returnData;
}
///<summary>
///无注释信息
///</summary>
public async Task<SlnMesnac.RfidUpload.Model.apiParam.ApiResult> getScanInfoInCenterStartAsync(System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.InStoreParam containerRegisterQuery,IInvokeOption invokeOption = default)
{
if(Client==null)
{
throw new RpcException("IRpcClient为空请先初始化或者进行赋值");
}
object[] parameters = new object[]{messageHeader,containerRegisterQuery};
return (SlnMesnac.RfidUpload.Model.apiParam.ApiResult) await Client.InvokeAsync(typeof(SlnMesnac.RfidUpload.Model.apiParam.ApiResult),"POST:/apiserver/getscaninfoincenterstart?messageHeader={0}",invokeOption, parameters);
}
///<summary>
///无注释信息
///</summary>
/// <exception cref="System.TimeoutException">调用超时</exception>
/// <exception cref="TouchSocket.Rpc.RpcInvokeException">Rpc调用异常</exception>
/// <exception cref="System.Exception">其他异常</exception>
public SlnMesnac.RfidUpload.Model.apiParam.ApiResult getScanInfoInCenterStop(System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.InStoreParam containerRegisterQuery,IInvokeOption invokeOption = default)
{
if(Client==null)
{
throw new RpcException("IRpcClient为空请先初始化或者进行赋值");
}
object[] parameters = new object[]{messageHeader,containerRegisterQuery};
SlnMesnac.RfidUpload.Model.apiParam.ApiResult returnData=(SlnMesnac.RfidUpload.Model.apiParam.ApiResult)Client.Invoke(typeof(SlnMesnac.RfidUpload.Model.apiParam.ApiResult),"POST:/apiserver/getscaninfoincenterstop?messageHeader={0}",invokeOption, parameters);
return returnData;
}
///<summary>
///无注释信息
///</summary>
public async Task<SlnMesnac.RfidUpload.Model.apiParam.ApiResult> getScanInfoInCenterStopAsync(System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.InStoreParam containerRegisterQuery,IInvokeOption invokeOption = default)
{
if(Client==null)
{
throw new RpcException("IRpcClient为空请先初始化或者进行赋值");
}
object[] parameters = new object[]{messageHeader,containerRegisterQuery};
return (SlnMesnac.RfidUpload.Model.apiParam.ApiResult) await Client.InvokeAsync(typeof(SlnMesnac.RfidUpload.Model.apiParam.ApiResult),"POST:/apiserver/getscaninfoincenterstop?messageHeader={0}",invokeOption, parameters);
}
///<summary>
///无注释信息
///</summary>
/// <exception cref="System.TimeoutException">调用超时</exception>
/// <exception cref="TouchSocket.Rpc.RpcInvokeException">Rpc调用异常</exception>
/// <exception cref="System.Exception">其他异常</exception>
public SlnMesnac.RfidUpload.Model.apiParam.ApiResult getScanInfoOutCenterStart(System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.OutStoreParam containerRegisterQuery,IInvokeOption invokeOption = default)
{
if(Client==null)
{
throw new RpcException("IRpcClient为空请先初始化或者进行赋值");
}
object[] parameters = new object[]{messageHeader,containerRegisterQuery};
SlnMesnac.RfidUpload.Model.apiParam.ApiResult returnData=(SlnMesnac.RfidUpload.Model.apiParam.ApiResult)Client.Invoke(typeof(SlnMesnac.RfidUpload.Model.apiParam.ApiResult),"POST:/apiserver/getscaninfooutcenterstart?messageHeader={0}",invokeOption, parameters);
return returnData;
}
///<summary>
///无注释信息
///</summary>
public async Task<SlnMesnac.RfidUpload.Model.apiParam.ApiResult> getScanInfoOutCenterStartAsync(System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.OutStoreParam containerRegisterQuery,IInvokeOption invokeOption = default)
{
if(Client==null)
{
throw new RpcException("IRpcClient为空请先初始化或者进行赋值");
}
object[] parameters = new object[]{messageHeader,containerRegisterQuery};
return (SlnMesnac.RfidUpload.Model.apiParam.ApiResult) await Client.InvokeAsync(typeof(SlnMesnac.RfidUpload.Model.apiParam.ApiResult),"POST:/apiserver/getscaninfooutcenterstart?messageHeader={0}",invokeOption, parameters);
}
///<summary>
///无注释信息
///</summary>
/// <exception cref="System.TimeoutException">调用超时</exception>
/// <exception cref="TouchSocket.Rpc.RpcInvokeException">Rpc调用异常</exception>
/// <exception cref="System.Exception">其他异常</exception>
public SlnMesnac.RfidUpload.Model.apiParam.ApiResult getScanInfoOutCenterStop(System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.OutStoreParam containerRegisterQuery,IInvokeOption invokeOption = default)
{
if(Client==null)
{
throw new RpcException("IRpcClient为空请先初始化或者进行赋值");
}
object[] parameters = new object[]{messageHeader,containerRegisterQuery};
SlnMesnac.RfidUpload.Model.apiParam.ApiResult returnData=(SlnMesnac.RfidUpload.Model.apiParam.ApiResult)Client.Invoke(typeof(SlnMesnac.RfidUpload.Model.apiParam.ApiResult),"POST:/apiserver/getscaninfooutcenterstop?messageHeader={0}",invokeOption, parameters);
return returnData;
}
///<summary>
///无注释信息
///</summary>
public async Task<SlnMesnac.RfidUpload.Model.apiParam.ApiResult> getScanInfoOutCenterStopAsync(System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.OutStoreParam containerRegisterQuery,IInvokeOption invokeOption = default)
{
if(Client==null)
{
throw new RpcException("IRpcClient为空请先初始化或者进行赋值");
}
object[] parameters = new object[]{messageHeader,containerRegisterQuery};
return (SlnMesnac.RfidUpload.Model.apiParam.ApiResult) await Client.InvokeAsync(typeof(SlnMesnac.RfidUpload.Model.apiParam.ApiResult),"POST:/apiserver/getscaninfooutcenterstop?messageHeader={0}",invokeOption, parameters);
}
}
public static class ApiServerExtensions
{
///<summary>
///无注释信息
///</summary>
/// <exception cref="System.TimeoutException">调用超时</exception>
/// <exception cref="TouchSocket.Rpc.RpcInvokeException">Rpc调用异常</exception>
/// <exception cref="System.Exception">其他异常</exception>
public static SlnMesnac.RfidUpload.Model.apiParam.ApiResult getScanInfoInCenterStart<TClient>(this TClient client,System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.InStoreParam containerRegisterQuery,IInvokeOption invokeOption = default) where TClient:
TouchSocket.WebApi.IWebApiClientBase{
object[] parameters = new object[]{messageHeader,containerRegisterQuery};
SlnMesnac.RfidUpload.Model.apiParam.ApiResult returnData=(SlnMesnac.RfidUpload.Model.apiParam.ApiResult)client.Invoke(typeof(SlnMesnac.RfidUpload.Model.apiParam.ApiResult),"POST:/apiserver/getscaninfoincenterstart?messageHeader={0}",invokeOption, parameters);
return returnData;
}
///<summary>
///无注释信息
///</summary>
public static async Task<SlnMesnac.RfidUpload.Model.apiParam.ApiResult> getScanInfoInCenterStartAsync<TClient>(this TClient client,System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.InStoreParam containerRegisterQuery,IInvokeOption invokeOption = default) where TClient:
TouchSocket.WebApi.IWebApiClientBase{
object[] parameters = new object[]{messageHeader,containerRegisterQuery};
return (SlnMesnac.RfidUpload.Model.apiParam.ApiResult) await client.InvokeAsync(typeof(SlnMesnac.RfidUpload.Model.apiParam.ApiResult),"POST:/apiserver/getscaninfoincenterstart?messageHeader={0}",invokeOption, parameters);
}
///<summary>
///无注释信息
///</summary>
/// <exception cref="System.TimeoutException">调用超时</exception>
/// <exception cref="TouchSocket.Rpc.RpcInvokeException">Rpc调用异常</exception>
/// <exception cref="System.Exception">其他异常</exception>
public static SlnMesnac.RfidUpload.Model.apiParam.ApiResult getScanInfoInCenterStop<TClient>(this TClient client,System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.InStoreParam containerRegisterQuery,IInvokeOption invokeOption = default) where TClient:
TouchSocket.WebApi.IWebApiClientBase{
object[] parameters = new object[]{messageHeader,containerRegisterQuery};
SlnMesnac.RfidUpload.Model.apiParam.ApiResult returnData=(SlnMesnac.RfidUpload.Model.apiParam.ApiResult)client.Invoke(typeof(SlnMesnac.RfidUpload.Model.apiParam.ApiResult),"POST:/apiserver/getscaninfoincenterstop?messageHeader={0}",invokeOption, parameters);
return returnData;
}
///<summary>
///无注释信息
///</summary>
public static async Task<SlnMesnac.RfidUpload.Model.apiParam.ApiResult> getScanInfoInCenterStopAsync<TClient>(this TClient client,System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.InStoreParam containerRegisterQuery,IInvokeOption invokeOption = default) where TClient:
TouchSocket.WebApi.IWebApiClientBase{
object[] parameters = new object[]{messageHeader,containerRegisterQuery};
return (SlnMesnac.RfidUpload.Model.apiParam.ApiResult) await client.InvokeAsync(typeof(SlnMesnac.RfidUpload.Model.apiParam.ApiResult),"POST:/apiserver/getscaninfoincenterstop?messageHeader={0}",invokeOption, parameters);
}
///<summary>
///无注释信息
///</summary>
/// <exception cref="System.TimeoutException">调用超时</exception>
/// <exception cref="TouchSocket.Rpc.RpcInvokeException">Rpc调用异常</exception>
/// <exception cref="System.Exception">其他异常</exception>
public static SlnMesnac.RfidUpload.Model.apiParam.ApiResult getScanInfoOutCenterStart<TClient>(this TClient client,System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.OutStoreParam containerRegisterQuery,IInvokeOption invokeOption = default) where TClient:
TouchSocket.WebApi.IWebApiClientBase{
object[] parameters = new object[]{messageHeader,containerRegisterQuery};
SlnMesnac.RfidUpload.Model.apiParam.ApiResult returnData=(SlnMesnac.RfidUpload.Model.apiParam.ApiResult)client.Invoke(typeof(SlnMesnac.RfidUpload.Model.apiParam.ApiResult),"POST:/apiserver/getscaninfooutcenterstart?messageHeader={0}",invokeOption, parameters);
return returnData;
}
///<summary>
///无注释信息
///</summary>
public static async Task<SlnMesnac.RfidUpload.Model.apiParam.ApiResult> getScanInfoOutCenterStartAsync<TClient>(this TClient client,System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.OutStoreParam containerRegisterQuery,IInvokeOption invokeOption = default) where TClient:
TouchSocket.WebApi.IWebApiClientBase{
object[] parameters = new object[]{messageHeader,containerRegisterQuery};
return (SlnMesnac.RfidUpload.Model.apiParam.ApiResult) await client.InvokeAsync(typeof(SlnMesnac.RfidUpload.Model.apiParam.ApiResult),"POST:/apiserver/getscaninfooutcenterstart?messageHeader={0}",invokeOption, parameters);
}
///<summary>
///无注释信息
///</summary>
/// <exception cref="System.TimeoutException">调用超时</exception>
/// <exception cref="TouchSocket.Rpc.RpcInvokeException">Rpc调用异常</exception>
/// <exception cref="System.Exception">其他异常</exception>
public static SlnMesnac.RfidUpload.Model.apiParam.ApiResult getScanInfoOutCenterStop<TClient>(this TClient client,System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.OutStoreParam containerRegisterQuery,IInvokeOption invokeOption = default) where TClient:
TouchSocket.WebApi.IWebApiClientBase{
object[] parameters = new object[]{messageHeader,containerRegisterQuery};
SlnMesnac.RfidUpload.Model.apiParam.ApiResult returnData=(SlnMesnac.RfidUpload.Model.apiParam.ApiResult)client.Invoke(typeof(SlnMesnac.RfidUpload.Model.apiParam.ApiResult),"POST:/apiserver/getscaninfooutcenterstop?messageHeader={0}",invokeOption, parameters);
return returnData;
}
///<summary>
///无注释信息
///</summary>
public static async Task<SlnMesnac.RfidUpload.Model.apiParam.ApiResult> getScanInfoOutCenterStopAsync<TClient>(this TClient client,System.String messageHeader,SlnMesnac.RfidUpload.Model.apiParam.OutStoreParam containerRegisterQuery,IInvokeOption invokeOption = default) where TClient:
TouchSocket.WebApi.IWebApiClientBase{
object[] parameters = new object[]{messageHeader,containerRegisterQuery};
return (SlnMesnac.RfidUpload.Model.apiParam.ApiResult) await client.InvokeAsync(typeof(SlnMesnac.RfidUpload.Model.apiParam.ApiResult),"POST:/apiserver/getscaninfooutcenterstop?messageHeader={0}",invokeOption, parameters);
}
}
}