wanshenmean
昨天 0b2869539598059704e1d208e2bcb18603b0fe0f
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
namespace WIDESEA_Core.Core
{
    /// <summary>
    /// 出库时效配置选项,绑定 appsettings.json 中的 OutboundTimeConfig 节
    /// </summary>
    public class OutboundTimeConfigOptions
    {
        /// <summary>
        /// 配置节名称
        /// </summary>
        public const string SectionName = "OutboundTimeConfig";
 
        /// <summary>
        /// GW首放入库时效(小时),默认24小时
        /// </summary>
        public double Gw1FirstHours { get; set; } = 24;
 
        /// <summary>
        /// GW二放入库时效(小时),默认0.05小时(约3分钟)
        /// </summary>
        public double Gw1SecondHours { get; set; } = 0.05;
 
        /// <summary>
        /// CW出库时效(小时),默认3小时
        /// </summary>
        public double Cw1Hours { get; set; } = 3;
    }
}