Files
wcs/WCS.Model/ApiModel/StoreInfo/ShelfInfoModel.cs
hehaibing-1996 00621bcd55 1.增加盟讯公司业务逻辑相关适配 前后端增加配置参数“ISMX”进行控制
2.前端websocket取消心跳机制(原有心跳和断线重连当服务端网线断开后需要等tcp保活期到期后才能发现重连),自己实现心跳和重连
3.前端关闭后任占用后台线程问题修复
2024-05-25 17:25:27 +08:00

75 lines
1.9 KiB
C#

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 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));
}
}
}