109 lines
3.2 KiB
C#
109 lines
3.2 KiB
C#
using CommunityToolkit.Mvvm.ComponentModel;
|
||
using System;
|
||
using System.Collections.Generic;
|
||
using System.Collections.ObjectModel;
|
||
using System.Linq;
|
||
using System.Text;
|
||
using System.Threading.Tasks;
|
||
|
||
namespace Common.Models
|
||
{
|
||
[Serializable]
|
||
public class SourcePowderBottleBoxModel : BaseBottleBox
|
||
{
|
||
private PowderBottleTypeEnum powderbottletype = PowderBottleTypeEnum._16mL;
|
||
/// <summary>
|
||
/// 粉末瓶类型
|
||
/// </summary>
|
||
public PowderBottleTypeEnum PowderBottleType
|
||
{
|
||
get { return powderbottletype; }
|
||
set { SetProperty(ref powderbottletype, value); }
|
||
}
|
||
|
||
//private bool havebox;
|
||
///// <summary>
|
||
///// 是否有 粉末瓶工装
|
||
///// </summary>
|
||
//public bool HaveBox
|
||
//{
|
||
// get { return havebox; }
|
||
// set { SetProperty(ref havebox, value); }
|
||
//}
|
||
|
||
//private int boxId;
|
||
///// <summary>
|
||
///// 粉末瓶工装的位置号(1-6)
|
||
///// </summary>
|
||
//public int BoxId
|
||
//{
|
||
// get { return boxId; }
|
||
// set { SetProperty(ref boxId, value); }
|
||
//}
|
||
|
||
private ObservableCollection<SourcePowderBottleModel> sourcepowderbottlecollection = new ObservableCollection<SourcePowderBottleModel>();
|
||
/// <summary>
|
||
/// 一个粉末瓶工装中的粉末瓶集合(4个粉末瓶)
|
||
/// </summary>
|
||
public ObservableCollection<SourcePowderBottleModel> SourcePowderBottleCollection
|
||
{
|
||
get { return sourcepowderbottlecollection; }
|
||
set { SetProperty(ref sourcepowderbottlecollection, value); }
|
||
}
|
||
|
||
public SourcePowderBottleBoxModel()
|
||
{
|
||
|
||
}
|
||
}
|
||
|
||
[Serializable]
|
||
public class SourcePowderBottleBoxModel_125ml : BaseBottleBox
|
||
{
|
||
private PowderBottleTypeEnum powderbottletype = PowderBottleTypeEnum._125mL;
|
||
/// <summary>
|
||
/// 粉末瓶类型
|
||
/// </summary>
|
||
public PowderBottleTypeEnum PowderBottleType
|
||
{
|
||
get { return powderbottletype; }
|
||
set { SetProperty(ref powderbottletype, value); }
|
||
}
|
||
|
||
//private bool havebox;
|
||
///// <summary>
|
||
///// 是否有 粉末瓶工装
|
||
///// </summary>
|
||
//public bool HaveBox
|
||
//{
|
||
// get { return havebox; }
|
||
// set { SetProperty(ref havebox, value); }
|
||
//}
|
||
|
||
//private int boxId;
|
||
///// <summary>
|
||
///// 粉末瓶工装的位置号(1-6)
|
||
///// </summary>
|
||
//public int BoxId
|
||
//{
|
||
// get { return boxId; }
|
||
// set { SetProperty(ref boxId, value); }
|
||
//}
|
||
|
||
private ObservableCollection<SourcePowderBottleModel> sourcepowderbottlecollection = new ObservableCollection<SourcePowderBottleModel>();
|
||
/// <summary>
|
||
/// 一个粉末瓶工装中的粉末瓶集合(4个粉末瓶)
|
||
/// </summary>
|
||
public ObservableCollection<SourcePowderBottleModel> SourcePowderBottleCollection
|
||
{
|
||
get { return sourcepowderbottlecollection; }
|
||
set { SetProperty(ref sourcepowderbottlecollection, value); }
|
||
}
|
||
|
||
public SourcePowderBottleBoxModel_125ml()
|
||
{
|
||
|
||
}
|
||
}
|
||
}
|