修改BUG
This commit is contained in:
parent
f494d17e40
commit
42dfa6d96c
@ -1,19 +1,24 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel;
|
||||
using CommunityToolkit.Mvvm.ComponentModel;
|
||||
using Seyounth.Hyosung.Data.Models;
|
||||
|
||||
namespace Seyounth.Hyosung.Runtime.Models;
|
||||
|
||||
public class StackStationModel
|
||||
[INotifyPropertyChanged]
|
||||
public partial class StackStationModel
|
||||
{
|
||||
public string TrayCode { get; set; } = "NoData";
|
||||
[ObservableProperty] [DefaultValue("NoData")]
|
||||
private string trayCode;
|
||||
|
||||
public string VarietyCode { get; set; } = "NoData";
|
||||
[ObservableProperty] [DefaultValue("NoData")]
|
||||
private string varietyCode;
|
||||
|
||||
public int Layers { get; set; }
|
||||
[ObservableProperty] private int layers;
|
||||
|
||||
public int TotalCount { get; set; }
|
||||
[ObservableProperty] private int totalCount;
|
||||
|
||||
public int CurrentCount { get; set; }
|
||||
[ObservableProperty] private int currentCount;
|
||||
|
||||
public ObservableCollection<Yarn> Yarns { get; set; } = new();
|
||||
[ObservableProperty] private ObservableCollection<Yarn> yarns = new();
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user