You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
833 B

  1. using BPA.Helper;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPA.Model
  8. {
  9. public class NewRecipeModel : NotifyBase
  10. {
  11. public string Id { get { return _mId; } set { _mId = value; OnPropertyChanged(); } }
  12. private string _mId;
  13. public string Name { get { return _mName; } set { _mName = value; OnPropertyChanged(); } }
  14. private string _mName;
  15. /// <summary>
  16. /// 原料需求量
  17. /// </summary>
  18. public ushort Weight { get { return _mWeight; } set { _mWeight = value; OnPropertyChanged(); } }
  19. private ushort _mWeight;
  20. public bool IsChecked { get { return _mIsChecked; } set { _mIsChecked = value; OnPropertyChanged(); } }
  21. private bool _mIsChecked;
  22. }
  23. }