2026-07-14 13:55:17 +08:00
|
|
|
using JY.Model.Excel;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace JY.Model
|
|
|
|
|
{
|
|
|
|
|
public class SystemConfig
|
|
|
|
|
{
|
|
|
|
|
#region MES使用
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 工厂代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string siteCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///产线名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string lineCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 设备编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string equipCode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 物料编码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string materialCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 产品型号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string productType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 分档查询接口地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GradingMesUrl = "http://10.17.128.206/core/api/public/eve/pm/eqm/grading";
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 结果加工参数接口地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ResultProcessMesUrl = "http://10.17.128.205/core/api/public/product/process/param/new/result";
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 产品进站接口地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string StationArrivalUrl = "http://127.0.0.1";
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 产品出站接口地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string StationExitUrl = "http://127.0.0.1";
|
|
|
|
|
|
2026-07-15 16:32:52 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// MES登录接口地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string LoginMesUrl = "http://127.0.0.1";
|
|
|
|
|
|
2026-07-28 10:51:38 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 设备报警接口地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string EquipAlarmUrl = "http://127.0.0.1";
|
|
|
|
|
|
2026-07-28 15:43:17 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 设备状态接口地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string EquipStatusUrl = "http://127.0.0.1";
|
|
|
|
|
|
2026-07-14 13:55:17 +08:00
|
|
|
public List<CollectItemCfg> CollectItemCfgList { get; set; } = new List<CollectItemCfg>();
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region 分档使用
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 档位一
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Grading1 = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 档位一
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Grading2 = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 档位一
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Grading3 = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 档位一
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Grading4 = "";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// MES上传超时时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public double MesRequestTime = 2;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 权限时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int LoginTime = 0;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否上传MES
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool isUpMes { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 员工账号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string userName = "";
|
|
|
|
|
|
2026-08-26 14:53:08 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 定时任务间隔时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int TaskInterval { get; set; } = 1;
|
2026-07-14 13:55:17 +08:00
|
|
|
}
|
|
|
|
|
}
|