30 lines
782 B
C#
30 lines
782 B
C#
using TsSFCDevice.Client.Biz.Base.Service;
|
|
|
|
namespace TsSFCDevice.Client.Biz.Base.Utils
|
|
{
|
|
public class Utility
|
|
{
|
|
/// <summary>
|
|
/// 获取当前WebService服务对象
|
|
/// </summary>
|
|
private static TsSFCMainSvc @m_DevMainService;
|
|
/// <summary>
|
|
/// 获取当前WebService服务对象
|
|
/// </summary>
|
|
public static TsSFCMainSvc @SfcBizService
|
|
{
|
|
get
|
|
{
|
|
if (@m_DevMainService == null)
|
|
{
|
|
@m_DevMainService = new TsSFCMainSvc(
|
|
"token",
|
|
"http://localhost/TsSFCDeviceSvc/MainService.asmx");
|
|
}
|
|
return @m_DevMainService;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|