liteon/Model/Vision/VisualEngineering.cs
2025-07-12 14:05:35 +08:00

105 lines
2.4 KiB
C#

using Community;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Model.Vision
{
/// <summary>
/// 视觉工程类
/// </summary>
public class VisualEngineering : NotificationObject
{
public int ID { get; set; }
/// <summary>
/// 机种ID
/// </summary>
public int MachineID { get; set; }
/// <summary>
/// 相机ID
/// </summary>
public int CameraID { get; set; }
private string eName;
/// <summary>
/// 名称
/// </summary>
public string EName
{
get { return eName; }
set
{
eName = value;
this.RaisePropertyChanged("EName");
}
}
private int nType;
/// <summary>
/// 视觉工程项目类型
/// </summary>
public int NType
{
get { return nType; }
set
{
nType = value;
this.RaisePropertyChanged("EName");
}
}
private string notes;
/// <summary>
/// 备注
/// </summary>
public string Notes
{
get { return notes; }
set
{
notes = value;
this.RaisePropertyChanged("Notes");
}
}
private bool enable;
/// <summary>
/// 启用
/// </summary>
public bool Enable
{
get { return enable; }
set { enable = value;
this.RaisePropertyChanged("Enable");
}
}
/// <summary>
/// 机械点位ID
/// </summary>
public int MechanicalPointID { get; set; }
private ObservableCollection<VisualEngineeringItems> visualEngineeringItemsList;
/// <summary>
/// 视觉工程项目项目功能集合
/// </summary>
public ObservableCollection<VisualEngineeringItems> VisualEngineeringItemsList
{
get { return visualEngineeringItemsList; }
set
{
visualEngineeringItemsList = value;
this.RaisePropertyChanged("VisualEngineeringItemsList");
}
}
}
}