| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- using Prism.Mvvm;
- using System;
- namespace TeamAAS_VP.Models
- {
- /// <summary>
- /// 设备信息配置,用于保存线别/站别/机台号以及 MES 相关配置。
- /// </summary>
- public class DeviceInfo : BindableBase
- {
- private string _line;
- /// <summary>
- /// 当前作业的线别
- /// </summary>
- public string Line { get => _line; set => SetProperty(ref _line, value); }
- private string _station;
- /// <summary>
- /// 当前作业的站别
- /// </summary>
- public string Station { get => _station; set => SetProperty(ref _station, value); }
- private string _fixtureId;
- /// <summary>
- /// 当前作业的机台编号
- /// </summary>
- public string FixtureId { get => _fixtureId; set => SetProperty(ref _fixtureId, value); }
- private bool _enableMes;
- /// <summary>
- /// 是否启用 MES 通信功能
- /// </summary>
- public bool EnableMES { get => _enableMes; set => SetProperty(ref _enableMes, value); }
- private string _mesStationUrl;
- /// <summary>
- /// MES 过站 URL
- /// </summary>
- public string MesStationUrl { get => _mesStationUrl; set => SetProperty(ref _mesStationUrl, value); }
- private string _mesSubmitUrl;
- /// <summary>
- /// MES 提交 URL
- /// </summary>
- public string MesSubmitUrl { get => _mesSubmitUrl; set => SetProperty(ref _mesSubmitUrl, value); }
- public DeviceInfo()
- {
- Line = string.Empty;
- Station = string.Empty;
- FixtureId = string.Empty;
- EnableMES = false;
- MesStationUrl = string.Empty;
- MesSubmitUrl = string.Empty;
- }
- }
- }
|