示例#1
0
 public LogonResponse(DemoConnector.TwinfieldSessionService.Header Header, DemoConnector.TwinfieldSessionService.LogonResult LogonResult, DemoConnector.TwinfieldSessionService.LogonAction nextAction, string cluster)
 {
     this.Header      = Header;
     this.LogonResult = LogonResult;
     this.nextAction  = nextAction;
     this.cluster     = cluster;
 }
示例#2
0
 public DemoConnector.TwinfieldSessionService.Header Logon(string user, string password, string organisation, out DemoConnector.TwinfieldSessionService.LogonResult LogonResult, out DemoConnector.TwinfieldSessionService.LogonAction nextAction, out string cluster)
 {
     DemoConnector.TwinfieldSessionService.LogonRequest inValue = new DemoConnector.TwinfieldSessionService.LogonRequest();
     inValue.user         = user;
     inValue.password     = password;
     inValue.organisation = organisation;
     DemoConnector.TwinfieldSessionService.LogonResponse retVal = ((DemoConnector.TwinfieldSessionService.SessionSoap)(this)).Logon(inValue);
     LogonResult = retVal.LogonResult;
     nextAction  = retVal.nextAction;
     cluster     = retVal.cluster;
     return(retVal.Header);
 }