using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.MorkCL.Model { /// /// 库位状态。 /// public class ItemStorage : NotifyBase { private bool isEmploy; private string materialID; private string name; private float weight; /// /// 库位位置。 /// //public string ID { get; set; } /// /// 物料ID /// public string MaterialID { get => materialID; set { materialID = value; OnPropertyChanged(); } } /// /// 物料名称 /// public string Name { get => name; set { name = value;OnPropertyChanged(); } } /// /// 是否占用,有物体则为True。反之,为False。 /// public bool IsEmploy { get => isEmploy; set { isEmploy = value; OnPropertyChanged(); } } /// /// 当前重量。 /// public float Weight { get => weight; set { weight = value; OnPropertyChanged(); } } } }