终端一体化运控平台
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.
 
 
 

51 lines
1.3 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace BPASmartClient.MorkCL.Model
  7. {
  8. /// <summary>
  9. /// 库位状态。
  10. /// </summary>
  11. public class ItemStorage : NotifyBase
  12. {
  13. private bool isEmploy;
  14. private string materialID;
  15. private string name;
  16. private float weight;
  17. /// <summary>
  18. /// 库位位置。
  19. /// </summary>
  20. //public string ID { get; set; }
  21. /// <summary>
  22. /// 物料ID
  23. /// </summary>
  24. public string MaterialID { get => materialID; set { materialID = value; OnPropertyChanged(); } }
  25. /// <summary>
  26. /// 物料名称
  27. /// </summary>
  28. public string Name { get => name; set { name = value;OnPropertyChanged(); } }
  29. /// <summary>
  30. /// 是否占用,有物体则为True。反之,为False。
  31. /// </summary>
  32. public bool IsEmploy
  33. {
  34. get => isEmploy;
  35. set
  36. {
  37. isEmploy = value;
  38. OnPropertyChanged();
  39. }
  40. }
  41. /// <summary>
  42. /// 当前重量。
  43. /// </summary>
  44. public float Weight { get => weight; set { weight = value; OnPropertyChanged(); } }
  45. }
  46. }