89 lines
4.3 KiB
C#
89 lines
4.3 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// 此代码由工具生成。
|
|
// 运行时版本:4.0.30319.42000
|
|
//
|
|
// 对此文件的更改可能会导致不正确的行为,并且如果
|
|
// 重新生成代码,这些更改将会丢失。
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace DeiNiu.wms.win.portalService {
|
|
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
[System.ServiceModel.ServiceContractAttribute(ConfigurationName="portalService.IPortal")]
|
|
public interface IPortal {
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPortal/getCatedAuths", ReplyAction="http://tempuri.org/IPortal/getCatedAuthsResponse")]
|
|
System.Collections.Generic.Dictionary<string, string[]> getCatedAuths(int userId, int warehouse);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPortal/updateUserTheme", ReplyAction="http://tempuri.org/IPortal/updateUserThemeResponse")]
|
|
void updateUserTheme(int userId, string theme);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPortal/getSpecialAuths", ReplyAction="http://tempuri.org/IPortal/getSpecialAuthsResponse")]
|
|
string[] getSpecialAuths(int userId, int warehouse);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPortal/validUser", ReplyAction="http://tempuri.org/IPortal/validUserResponse")]
|
|
int validUser(string userId, string passwd);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPortal/haveSpecialAuth", ReplyAction="http://tempuri.org/IPortal/haveSpecialAuthResponse")]
|
|
bool haveSpecialAuth(string userId, string passwd, string spAuth);
|
|
|
|
[System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IPortal/getWareHouses", ReplyAction="http://tempuri.org/IPortal/getWareHousesResponse")]
|
|
string[] getWareHouses(string mgrAddress);
|
|
}
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
public interface IPortalChannel : DeiNiu.wms.win.portalService.IPortal, System.ServiceModel.IClientChannel {
|
|
}
|
|
|
|
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
|
public partial class PortalClient : System.ServiceModel.ClientBase<DeiNiu.wms.win.portalService.IPortal>, DeiNiu.wms.win.portalService.IPortal {
|
|
|
|
public PortalClient() {
|
|
}
|
|
|
|
public PortalClient(string endpointConfigurationName) :
|
|
base(endpointConfigurationName) {
|
|
}
|
|
|
|
public PortalClient(string endpointConfigurationName, string remoteAddress) :
|
|
base(endpointConfigurationName, remoteAddress) {
|
|
}
|
|
|
|
public PortalClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
base(endpointConfigurationName, remoteAddress) {
|
|
}
|
|
|
|
public PortalClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
|
base(binding, remoteAddress) {
|
|
}
|
|
|
|
public System.Collections.Generic.Dictionary<string, string[]> getCatedAuths(int userId, int warehouse) {
|
|
return base.Channel.getCatedAuths(userId, warehouse);
|
|
}
|
|
|
|
public void updateUserTheme(int userId, string theme) {
|
|
base.Channel.updateUserTheme(userId, theme);
|
|
}
|
|
|
|
public string[] getSpecialAuths(int userId, int warehouse) {
|
|
return base.Channel.getSpecialAuths(userId, warehouse);
|
|
}
|
|
|
|
public int validUser(string userId, string passwd) {
|
|
return base.Channel.validUser(userId, passwd);
|
|
}
|
|
|
|
public bool haveSpecialAuth(string userId, string passwd, string spAuth) {
|
|
return base.Channel.haveSpecialAuth(userId, passwd, spAuth);
|
|
}
|
|
|
|
public string[] getWareHouses(string mgrAddress) {
|
|
return base.Channel.getWareHouses(mgrAddress);
|
|
}
|
|
}
|
|
}
|