2022-09-26 10:49:29 +08:00
|
|
|
|
namespace RecipeEditorLib.RecipeModel.Params
|
2022-09-19 09:16:33 +08:00
|
|
|
|
{
|
2022-09-26 10:49:29 +08:00
|
|
|
|
public class StepParam : ParamBaseWithGenericValue<int>
|
2022-09-19 09:16:33 +08:00
|
|
|
|
{
|
2022-09-26 10:49:29 +08:00
|
|
|
|
#region Variables
|
|
|
|
|
|
|
|
|
|
private bool _checked;
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Constructors
|
|
|
|
|
|
|
|
|
|
public StepParam()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public StepParam(int initValue) : base(initValue)
|
2022-09-19 09:16:33 +08:00
|
|
|
|
{
|
2022-09-26 10:49:29 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region Properties
|
|
|
|
|
|
|
|
|
|
public override bool IsHideValue
|
|
|
|
|
{
|
|
|
|
|
get => false;
|
2022-09-19 09:16:33 +08:00
|
|
|
|
set
|
|
|
|
|
{
|
2022-09-26 10:49:29 +08:00
|
|
|
|
|
2022-09-19 09:16:33 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2022-09-26 10:49:29 +08:00
|
|
|
|
|
|
|
|
|
public bool IsChecked
|
2022-09-19 09:16:33 +08:00
|
|
|
|
{
|
2022-09-26 10:49:29 +08:00
|
|
|
|
get => _checked;
|
2022-09-19 09:16:33 +08:00
|
|
|
|
set
|
|
|
|
|
{
|
2022-09-26 10:49:29 +08:00
|
|
|
|
_checked = value;
|
|
|
|
|
NotifyOfPropertyChange(nameof(IsChecked));
|
2022-09-19 09:16:33 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
2022-09-26 10:49:29 +08:00
|
|
|
|
|
|
|
|
|
#endregion
|
2022-09-19 09:16:33 +08:00
|
|
|
|
}
|
|
|
|
|
}
|