1234567891011121314151617181920212223242526272829303132333435 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace DefaultEdit.Model
- {
- public class CurentApplicationSettings
- {
- /// <summary>
- /// 小票打印机的名称(最好写在配置文件内,方便维护)
- /// </summary>
- private string _PrinterName = "";
- /// <summary>
- /// MES地址(最好写在配置文件内,方便维护)
- /// </summary>
- private string _Url = "https://mes2-web.sw.eainc.com/mes2/rest/";
- /// <summary>
- /// 设备编号(最好写在配置文件内,方便维护)
- /// </summary>
- 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 ; }
- }
- }
|