using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DefaultEdit.Model { public class CurentApplicationSettings { /// /// 小票打印机的名称(最好写在配置文件内,方便维护) /// private string _PrinterName = ""; /// /// MES地址(最好写在配置文件内,方便维护) /// private string _Url = "https://mes2-web.sw.eainc.com/mes2/rest/"; /// /// 设备编号(最好写在配置文件内,方便维护) /// private string _DeviceId = "EA-P-2590"; private string _PlcIP="127.0.0.1"; public string PrinterName { get => _PrinterName; set => _PrinterName = value; } public string Url { get => _Url; set => _Url = value; } public string DeviceId { get => _DeviceId; set => _DeviceId = value ; } public string PlcIP { get => _PlcIP; set => _PlcIP = value ; } } }