You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

61 lines
1.5 KiB

using System.Collections.Generic;
namespace LTEMvcApp.Models
{
/// <summary>
/// 统计配置模型
/// </summary>
public class StatisticsConfig
{
/// <summary>
/// 客户端IP地址
/// </summary>
public string IpAddress { get; set; } = string.Empty;
/// <summary>
/// 客户端名称
/// </summary>
public string ClientName { get; set; } = string.Empty;
/// <summary>
/// 是否启用samples参数
/// </summary>
public bool EnableSamples { get; set; } = false;
/// <summary>
/// 是否启用rf参数
/// </summary>
public bool EnableRf { get; set; } = false;
/// <summary>
/// 是否启用此配置
/// </summary>
public bool IsEnabled { get; set; } = true;
/// <summary>
/// 描述信息
/// </summary>
public string Description { get; set; } = string.Empty;
}
/// <summary>
/// 全局统计配置
/// </summary>
public class GlobalStatisticsConfig
{
/// <summary>
/// 默认samples值
/// </summary>
public bool DefaultSamples { get; set; } = false;
/// <summary>
/// 默认rf值
/// </summary>
public bool DefaultRf { get; set; } = false;
/// <summary>
/// 客户端特定配置
/// </summary>
public List<StatisticsConfig> ClientConfigs { get; set; } = new List<StatisticsConfig>();
}
}