using Prism.Mvvm;
using System;
using System.Windows;
namespace TeamAAS_VP.Models
{
///
/// 设备信息配置,用于保存线别/站别/机台号以及 MES 相关配置。
///
public class DeviceInfo : BindableBase
{
private string _line;
///
/// 当前作业的线别
///
public string Line { get => _line; set => SetProperty(ref _line, value); }
private string _station;
///
/// 当前作业的站别
///
public string Station { get => _station; set => SetProperty(ref _station, value); }
private string _fixtureId;
///
/// 当前作业的机台编号
///
public string FixtureId { get => _fixtureId; set => SetProperty(ref _fixtureId, value); }
private bool _enableMes;
///
/// 是否启用 MES 通信功能
///
public bool EnableMES { get => _enableMes; set => SetProperty(ref _enableMes, value); }
private string _mesUrl;
///
/// URL
///
public string MesUrl { get => _mesUrl; set => SetProperty(ref _mesUrl, value); }
private string _f;
public string F { get => _f; set => SetProperty(ref _f, value); }
private string _comp;
public string comp { get => _comp; set => SetProperty(ref _comp, value); }
public DeviceInfo()
{
Line = string.Empty;
Station = string.Empty;
FixtureId = string.Empty;
F = string.Empty;
comp = string.Empty;
MesUrl = string.Empty;
EnableMES = false;
}
}
}