From 43b2af8956d54dc3a53f211c53d8af582806b6ba Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期二, 08 四月 2025 11:18:58 +0800 Subject: [PATCH] 备料任务合并发料只适用于包装车间工单发料 备料任务增加根据发料类型,调用相应发料单据的ERP接口 --- Tiger.Model.Net/Entitys/Api/Base.cs | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 49 insertions(+), 0 deletions(-) diff --git a/Tiger.Model.Net/Entitys/Api/Base.cs b/Tiger.Model.Net/Entitys/Api/Base.cs index 97ec4ea..8bc7b9b 100644 --- a/Tiger.Model.Net/Entitys/Api/Base.cs +++ b/Tiger.Model.Net/Entitys/Api/Base.cs @@ -1,4 +1,5 @@ 锘縰sing System.Collections.Generic; +using System.ComponentModel; namespace Tiger.Model { @@ -24,4 +25,52 @@ public int total { get; set; } } + public class ShortMessage + { + public ShortMessage(string msg, Types type) + { + Content = msg; + Type = type; + } + + 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, + } + } } \ No newline at end of file -- Gitblit v1.9.3