using System;
using System.Collections.Generic;
using System.Linq;
using HeuristicLab.Data;
using HeuristicLab.Core;
using System.Threading.Tasks;
namespace HeuristicLab.Clients.Hive.WebJobManager.ViewModels.Jobs
{
///
/// A viewmodel for containing a parameter and the information of the task
///
public class DataPackageVM
{
public IParameter Data { get; set; }
public string Position { get; set; }
public int Randy { get; set; }
public bool Problem { get; set; }
///
/// Init
///
/// Parameter
/// Position string (builded for javascript)
/// Random integer
/// Problem parameter or not
public DataPackageVM(IParameter d, string po, int r, bool pr)
{
Data = d;
Position = po;
Randy = r;
Problem = pr;
}
}
}