终端一体化运控平台
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 

51 righe
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. }