wanshenmean
2026-03-06 f81c33a58bb17a84aae98d31fc3bcfdddd4f76fd
feat: 添加自动出库任务配置模型类
已添加1个文件
30 ■■■■■ 文件已修改
Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/Core/AutoOutboundTaskOptions.cs 30 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Code/WMS/WIDESEA_WMSServer/WIDESEA_Core/Core/AutoOutboundTaskOptions.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,30 @@
using System.Collections.Generic;
namespace WIDESEA_Core.Core
{
    /// <summary>
    /// è‡ªåŠ¨å‡ºåº“ä»»åŠ¡é…ç½®é€‰é¡¹
    /// </summary>
    public class AutoOutboundTaskOptions
    {
        /// <summary>
        /// æ˜¯å¦å¯ç”¨è‡ªåŠ¨å‡ºåº“ä»»åŠ¡
        /// </summary>
        public bool Enable { get; set; } = true;
        /// <summary>
        /// æ£€æŸ¥é—´éš”(秒)
        /// </summary>
        public int CheckIntervalSeconds { get; set; } = 300;
        /// <summary>
        /// æŒ‰å··é“前缀配置目标地址
        /// </summary>
        public Dictionary<string, string> TargetAddresses { get; set; }
            = new()
            {
                { "GW", "10081" },
                { "CW", "10080" }
            };
    }
}