2025-03-17 01:56:27 +08:00
|
|
|
using System.Collections.ObjectModel;
|
2025-03-17 04:06:13 +08:00
|
|
|
using System.ComponentModel;
|
|
|
|
using CommunityToolkit.Mvvm.ComponentModel;
|
2025-03-17 01:56:27 +08:00
|
|
|
using Seyounth.Hyosung.Data.Models;
|
|
|
|
|
2025-03-17 02:37:39 +08:00
|
|
|
namespace Seyounth.Hyosung.Runtime.Models;
|
2025-03-17 01:56:27 +08:00
|
|
|
|
2025-03-17 04:06:13 +08:00
|
|
|
[INotifyPropertyChanged]
|
|
|
|
public partial class StackStationModel
|
2025-03-17 01:56:27 +08:00
|
|
|
{
|
2025-03-17 04:06:13 +08:00
|
|
|
[ObservableProperty] [DefaultValue("NoData")]
|
2025-03-20 19:32:49 +08:00
|
|
|
private string trayCode;
|
2025-03-17 01:56:27 +08:00
|
|
|
|
2025-03-17 04:06:13 +08:00
|
|
|
[ObservableProperty] [DefaultValue("NoData")]
|
|
|
|
private string varietyCode;
|
2025-03-17 01:56:27 +08:00
|
|
|
|
2025-03-17 04:06:13 +08:00
|
|
|
[ObservableProperty] private int layers;
|
2025-03-17 01:56:27 +08:00
|
|
|
|
2025-03-17 04:06:13 +08:00
|
|
|
[ObservableProperty] private int totalCount;
|
2025-03-17 01:56:27 +08:00
|
|
|
|
2025-03-17 04:06:13 +08:00
|
|
|
[ObservableProperty] private int currentCount;
|
2025-03-17 01:56:27 +08:00
|
|
|
|
2025-03-17 04:06:13 +08:00
|
|
|
[ObservableProperty] private ObservableCollection<Yarn> yarns = new();
|
2025-03-17 01:56:27 +08:00
|
|
|
}
|