wanshenmean
2026-03-09 2df3b287a5c868f987b99ff00dc1d2339747b8f1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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, List<string>> TargetAddresses { get; set; }
            = new()
            {
                { "GW", new List<string> { "10081" } },
                { "CW", new List<string> { "10080" } }
            };
    }
}