2022-10-21 14:29:09 +08:00
|
|
|
|
using System.Collections.ObjectModel;
|
|
|
|
|
using MECF.Framework.UI.Client.RecipeEditorLib.RecipeModel.Params;
|
2022-09-19 09:16:33 +08:00
|
|
|
|
using RecipeEditorLib.DGExtension.CustomColumn;
|
|
|
|
|
|
|
|
|
|
namespace RecipeEditorLib.RecipeModel.Params
|
|
|
|
|
{
|
|
|
|
|
public class MultipleSelectParam : Param
|
|
|
|
|
{
|
2022-09-26 10:49:29 +08:00
|
|
|
|
public MultipleSelectParam(MultipleSelectColumn col)
|
2022-09-19 09:16:33 +08:00
|
|
|
|
{
|
|
|
|
|
this.Options = new ObservableCollection<MultipleSelectColumn.Option>();
|
|
|
|
|
col.CloneOptions(this).ForEach(opt => this.Options.Add(opt));
|
|
|
|
|
this.IsSaved = true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public ObservableCollection<MultipleSelectColumn.Option> Options { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|