C00225155-02/C00225155/MegaRobo.C00225155/Common/BottleModels/SourcePowderBottleBoxModel.cs

109 lines
3.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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()
{
}
}
}