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