Files
wcs/WCS.Model/ApiModel/StoreInfo/ModuleInfoModel.cs
hehaibing-1996 432a96198f fature
2024-05-15 18:59:24 +08:00

52 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace WCS.Model.ApiModel.StoreInfo
{
public class ModuleInfoModel : INotifyPropertyChanged
{
public int Id { get; set; }
public string ModuleCode { get; set; }
public int ShelfId { get; set; }
public string ShelfCode { get; set; }
public int BoardId { get; set; }
public int LightCount { get; set; }
public string CleintIp { get; set; }
public string R { get; set; }
public string C { get; set; }
public string? Bigshelfcode { get; set; }
public bool IsEnable { get; set; }
//public Mode CurrentMode { get; set; } = Mode.待机模式;
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));
}
}
}