SystemVariable.cs 1.71 KB
using Hh.Mes.POJO.Entity;
using System;
using System.Collections.Generic;
using System.Text;

namespace Hh.Mes.Pojo.System
{
    /// <summary>
    /// 系统变量 定义一下全局的 值
    /// </summary>
    public class SystemVariable
    {
        /// <summary>
        /// 默认操作人
        /// </summary>
        public static string DefaultCreated = "System";

        /// <summary>
        /// 未查询到符合条件的数据
        /// </summary>
        public static string queryNotData = "未查询到符合条件的数据";


        public static string excelDataOk = "Excel 数据导入成功,请在对应的模块刷新查看数据!";


        public static string excelDataError = "Excel 数据导入失败,请核对数据正确、或者刷新页面重试,反复出现请联系管理员查看logs文件!";

        /// <summary>
        /// 服务器业务数据操作失败出现异常,反复出现请联系管理员!
        /// </summary>
        public static string dataActionError = "服务器业务数据操作失败出现异常,反复出现请联系管理员!";

        /// <summary>
        /// 服务器业务数据处理成功
        /// </summary>
        public static string dataActionOk = "服务器业务数据处理成功!";

        /// <summary>
        /// ECS提交的PLC检测无料框的料点编码
        /// </summary>
        public static Tuple<DateTime, List<string>> noneGoodsLocationCodes = new Tuple<DateTime, List<string>>(DateTime.Now, new List<string>());
        public static DateTime StartTime;

        /// <summary>
        /// 料点字典集合
        /// </summary>
        public static List<base_location> locationList = new List<base_location>();
    }
}