Changeset 13693
- Timestamp:
- 03/11/16 16:40:23 (9 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.OKB.Views/3.3/HeuristicLab.Clients.OKB.Views-3.3.csproj
r13534 r13693 286 286 <DependentUpon>OKBRunView.cs</DependentUpon> 287 287 </Compile> 288 <Compile Include="RunCreation\Views\SingleObjectiveOKBSolutionView.cs"> 289 <SubType>UserControl</SubType> 290 </Compile> 291 <Compile Include="RunCreation\Views\SingleObjectiveOKBSolutionView.Designer.cs"> 292 <DependentUpon>SingleObjectiveOKBSolutionView.cs</DependentUpon> 293 </Compile> 288 294 <None Include="Plugin.cs.frame" /> 289 295 <None Include="Properties\AssemblyInfo.cs.frame" /> -
trunk/sources/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBProblem.cs
r13691 r13693 174 174 if (ProblemId != -1) { 175 175 Solutions.AddRange(RunCreationClient.Instance.GetSolutions(ProblemId).Select(OKBSolution.Convert)); 176 foreach (var sol in Solutions) { 177 sol.DownloadData(); 178 } 176 179 } 177 180 } -
trunk/sources/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBSolution.cs
r13691 r13693 73 73 74 74 public abstract void Download(long solutionId); 75 public abstract void DownloadData(); 75 76 76 77 public abstract void Upload(); -
trunk/sources/HeuristicLab.Clients.OKB/3.3/RunCreation/SingleObjectiveOKBSolution.cs
r13691 r13693 75 75 } 76 76 77 public override void DownloadData() { 78 using (var stream = new MemoryStream(RunCreationClient.Instance.GetSolutionData(SolutionId))) { 79 Solution = XmlParser.Deserialize<IItem>(stream); 80 } 81 } 82 77 83 public override void Upload() { 78 84 if (SolutionId != -1) throw new InvalidOperationException("Solution exists already.");
Note: See TracChangeset
for help on using the changeset viewer.