StepParam.cs 871 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace RecipeEditorLib.RecipeModel.Params
  7. {
  8. public class StepParam : Param
  9. {
  10. private string _Value = string.Empty;
  11. public string Value
  12. {
  13. get { return this._Value; }
  14. set
  15. {
  16. this._Value = value;
  17. if (this.Feedback != null)
  18. this.Feedback(this);
  19. this.NotifyOfPropertyChange("Value");
  20. }
  21. }
  22. private bool _checked = false;
  23. public bool Checked
  24. {
  25. get { return this._checked; }
  26. set
  27. {
  28. this._checked = value;
  29. this.NotifyOfPropertyChange("Checked");
  30. }
  31. }
  32. }
  33. }