!提交代码
This commit is contained in:
74
WCS.Model/ApiModel/StoreInfo/ShelfInfoModel.cs
Normal file
74
WCS.Model/ApiModel/StoreInfo/ShelfInfoModel.cs
Normal file
@ -0,0 +1,74 @@
|
||||
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; }
|
||||
|
||||
/// <summary>
|
||||
/// 货架类型名称
|
||||
/// </summary>
|
||||
public string ShelfTypeName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 货架当前状态
|
||||
/// </summary>
|
||||
public int CurrentMode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 货架行数
|
||||
/// </summary>
|
||||
public int Rowcounts { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 货架列数
|
||||
/// </summary>
|
||||
public int Columncounts { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 货架对应警示灯的Id
|
||||
/// </summary>
|
||||
public int LightId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 货架对应Can模块的Ip
|
||||
/// </summary>
|
||||
public string ClientIp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 货架的组别、区域(区分单个软件管哪些货架的,前端的配置文件配置一个组别,查询时只显示当前组别的货架)
|
||||
/// </summary>
|
||||
public string GroupName { get; set; }
|
||||
|
||||
public bool IsBind { get; set; }
|
||||
|
||||
public string BindShelfCode { get; set; } = string.Empty;
|
||||
|
||||
|
||||
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));
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user