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.
26 lines
783 B
26 lines
783 B
using System.ServiceModel;
|
|
using SSWMS.Common;
|
|
|
|
namespace SSWMS.Server
|
|
{
|
|
[ServiceBehavior(IncludeExceptionDetailInFaults = true, InstanceContextMode = InstanceContextMode.Single,
|
|
ConcurrencyMode = ConcurrencyMode.Multiple, MaxItemsInObjectGraph = int.MaxValue, UseSynchronizationContext = false)]
|
|
public class S_DeviceService : I_DeviceService
|
|
{
|
|
public string Login(string sUserCode, string sPassword)
|
|
{
|
|
try
|
|
{
|
|
SYS_USER su = S_BaseService._S_SystemService.Login(sUserCode, sPassword);
|
|
if (su != null)
|
|
{
|
|
return su.USER_NAME;
|
|
}
|
|
}
|
|
catch
|
|
{
|
|
}
|
|
return string.Empty;
|
|
}
|
|
}
|
|
}
|