- Timestamp:
- 03/13/12 11:07:09 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBRun.cs
r7574 r7604 83 83 private Guid UserId; 84 84 85 [Storable] 86 private Guid ClientId; 87 85 88 [Storable(Name = "Stored")] 86 89 private bool StorableStored { … … 114 117 stored = original.stored; 115 118 UserId = original.UserId; 119 ClientId = original.ClientId; 116 120 } 117 121 public OKBRun(long algorithmId, long problemId, IRun run, Guid userId) … … 122 126 this.stored = false; 123 127 this.UserId = userId; 128 this.ClientId = ClientInformation.Instance.ClientInfo.Id; 124 129 } 125 130 … … 134 139 run.AlgorithmId = algorithmId; 135 140 run.ProblemId = problemId; 136 //TODO: should there be some error handling? at this point it should already be checked that the user and client are registred137 141 run.UserId = UserId; 138 run.ClientId = ClientI nformation.Instance.ClientInfo.Id;142 run.ClientId = ClientId; 139 143 run.CreatedDate = createdDate; 140 144 run.ParameterValues = ConvertToValues(Parameters);
Note: See TracChangeset
for help on using the changeset viewer.