using System; using System.Collections.Generic; using System.ComponentModel; using System.Text; namespace WCS.Model.ApiModel.StoreInfo { public class ShelfInfoModel : INotifyPropertyChanged { public int Id { get; set; } public string ShelfCode { get; set; } public int ShelfTypeId { get; set; } /// /// 货架类型名称 /// public string ShelfTypeName { get; set; } /// /// 货架当前状态 /// public int CurrentMode { get; set; } /// /// 货架行数 /// public int Rowcounts { get; set; } /// /// 货架列数 /// public int Columncounts { get; set; } /// /// 货架对应警示灯的Id /// public int LightId { get; set; } /// /// 货架对应Can模块的Ip /// public string ClientIp { get; set; } /// /// 货架的组别、区域(区分单个软件管哪些货架的,前端的配置文件配置一个组别,查询时只显示当前组别的货架) /// public string GroupName { get; set; } public bool IsBind { get; set; } public string BigShelfCode { get; set; } public int RowNumber { get; set; } public bool IsSelected { get { return isSelected; } set { isSelected = value; OnPropertyChanged(nameof(IsSelected)); } } public bool isSelected; public event PropertyChangedEventHandler PropertyChanged; protected virtual void OnPropertyChanged(string propertyName) { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); } } }