服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2024-08-13 fa36bc9df424211bc3ab1788cf98cf40c8bc6f5f
增加短消息实体,包装实体增加重量字段
已修改4个文件
67 ■■■■■ 文件已修改
Tiger.Model.Net/Entitys/Api/Base.cs 43 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Tiger.Model.Net/Entitys/MES/MES_WIP_PKG.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Tiger.Model.Net/Entitys/MES/ParameterEntity/PositionParameter.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Tiger.Model.Net/Entitys/WMS/WMS_ITEM_PKG.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Tiger.Model.Net/Entitys/Api/Base.cs
@@ -1,4 +1,5 @@
using System.Collections.Generic;
using System.ComponentModel;
namespace Tiger.Model
{
@@ -24,4 +25,46 @@
        public int total { get; set; }
    }
    public class ShortMessage
    {
        public string Content { get; set; }
        public Types Type { get; set; }
        /// <summary>
        /// 信息类型
        /// </summary>
        public enum Types
        {
            /// <summary>
            /// 默认信息
            /// </summary>
            [Description("默认信息")]
            Normal,
            /// <summary>
            /// 成功信息
            /// </summary>
            [Description("成功信息")]
            Success,
            /// <summary>
            /// 警告信息
            /// </summary>
            [Description("警告信息")]
            Warning,
            /// <summary>
            /// 错误信息
            /// </summary>
            [Description("错误信息")]
            Error,
            /// <summary>
            /// 失败信息
            /// </summary>
            [Description("失败信息")]
            Failed,
            /// <summary>
            /// 异常信息
            /// </summary>
            [Description("异常信息")]
            Exception,
        }
    }
}
Tiger.Model.Net/Entitys/MES/MES_WIP_PKG.cs
@@ -114,6 +114,16 @@
        [DisplayName("加工段")]
        public string SEGMENT { get; set; }
        /// <summary>
        /// 重量
        /// </summary>
        [DisplayName("重量")]
        public double WEIGHT { get; set; }
        /// <summary>
        /// 重量单位
        /// </summary>
        [DisplayName("重量单位")]
        public string WEIGHT_UNIT { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [DisplayName("备注")]
Tiger.Model.Net/Entitys/MES/ParameterEntity/PositionParameter.cs
@@ -54,6 +54,10 @@
        /// </summary>
        public bool IsFinished { get; set; } = false;
        /// <summary>
        /// 短消息
        /// </summary>
        public ShortMessage ShortMsg { get; set; }
        /// <summary>
        /// 当前操作的工单对象
        /// </summary>
        public BIZ_MES_WO CurWO { get; set; }
Tiger.Model.Net/Entitys/WMS/WMS_ITEM_PKG.cs
@@ -120,6 +120,16 @@
        /// </summary>
        public string PRINT_USER { get; set; }
        /// <summary>
        /// 重量
        /// </summary>
        [DisplayName("重量")]
        public double WEIGHT { get; set; }
        /// <summary>
        /// 重量单位
        /// </summary>
        [DisplayName("重量单位")]
        public string WEIGHT_UNIT { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string REMARK { get; set; }