Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/ViewModels/Jobs/DataPackageVM.cs @ 13847

Last change on this file since 13847 was 13847, checked in by jlodewyc, 8 years ago

#2582 Security access implemented, directory renaming and choosing, adding more partials

File size: 1.0 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using HeuristicLab.Data;
5using HeuristicLab.Core;
6using System.Threading.Tasks;
7
8namespace HeuristicLab.Clients.Hive.WebJobManager.ViewModels.Jobs
9{
10    /// <summary>
11    /// A viewmodel for containing a parameter and the information of the task
12    /// </summary>
13    public class DataPackageVM
14    {
15
16        public IParameter Data { get; set; }
17        public string Position { get; set; }
18        public int Randy { get; set; }
19        public bool Problem { get; set; }
20        /// <summary>
21        /// Init
22        /// </summary>
23        /// <param name="d">Parameter</param>
24        /// <param name="p">Position string (builded for javascript)</param>
25        /// <param name="r">Random integer</param>
26        /// <param name="p">Problem parameter or not</param>
27        public DataPackageVM(IParameter d, string po, int r, bool pr)
28        {
29            Data = d;
30            Position = po;
31            Randy = r;
32            Problem = pr;
33        }
34    }
35}
Note: See TracBrowser for help on using the repository browser.