Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- 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(); } }
-
- }
- }
|