AppSettings.cs 1.11 KB

namespace Rcs.Domain.Settings;

public class AppSettings
{
    public required Redis Redis { get; set; }
    public required RabbitMq RabbitMq { get; set; }
    public required ConnSql ConnSql { get; set; }
    public required Cache Cache { get; set; }
    public required Cors Cors { get; set; }
    public required Mqtt Mqtt { get; set; }
    public required RobotStatusSync RobotStatus { get; set; }
    public required LanYinSettings LanYinSettings { get; set; }
    public required WmsSettings WmsSettings { get; set; }

    /// <summary>
    /// 全局实时导航配置。
    /// </summary>
    public GlobalNavigationSettings GlobalNavigation { get; set; } = new();

    /// <summary>
    /// VDA5050 协议相关配置。
    /// </summary>
    public Vda5050Settings Vda5050 { get; set; } = new();

    /// <summary>
    /// 任务执行配置。
    /// </summary>
    public TaskExecutionSettings TaskExecution { get; set; } = new();

    /// <summary>
    /// 任务分配配置。
    /// </summary>
    public TaskDispatchSettings TaskDispatch { get; set; } = new();

    public string? ExternalBaseUrl { get; set; }
}