namespace SHH.Contracts
{
    /// <summary>订阅项</summary>
    public class CameraConfigSubscribeDto
    {
        /// <summary>订阅标识 例如: "UI_Display" (界面显示), "AI_Analysis" (算法分析)</summary>
        public string AppId { get; set; } = string.Empty;

        /// <summary>订阅业务类型 对应枚举 SubscriptionType 的整型值</summary>
        public int Type { get; set; }

        /// <summary>要求的传输帧率 要求的帧率：8 帧或 1 帧</summary>
        public int TargetFps { get; set; }

        /// <summary>是否需要高清晰度流(主码流) true: 请求高分辨率主码流; false: 请求低分辨率子码流(默认)</summary>
        public string Memo { get; set; } = string.Empty;

        /// <summary>是否需要高清晰度</summary>
        public bool NeedHighDefinition { get; set; }
            = false;
    }
}