Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/28/12 15:48:11 (12 years ago)
Author:
ascheibe
Message:

#1174 save client and user information with runs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBRun.cs

    r7385 r7535  
    2424using System.Drawing;
    2525using System.IO;
     26using HeuristicLab.Clients.Access;
    2627using HeuristicLab.Common;
    2728using HeuristicLab.Core;
     
    128129      run.AlgorithmId = algorithmId;
    129130      run.ProblemId = problemId;
    130       run.UserId = Guid.Empty;
    131       run.ClientId = Guid.Empty;
     131      //TODO: should there be some error handling? at this point it should already be checked that the user and client are registred
     132      run.UserId = UserInformation.Instance.User.Id;
     133      run.ClientId = ClientInformation.Instance.ClientInfo.Id;
    132134      run.CreatedDate = createdDate;
    133135      run.ParameterValues = ConvertToValues(Parameters);
Note: See TracChangeset for help on using the changeset viewer.