33 lines
894 B
C#
33 lines
894 B
C#
using adas_core.Domain.Enums;
|
|
|
|
namespace adas_core.Domain.Models.MongoModels;
|
|
|
|
/// <summary>
|
|
/// Represents a configuration container for pump-related settings.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Used to manage and access configuration parameters specific to pump operations.
|
|
/// </remarks>
|
|
public class ConfigPumps
|
|
{
|
|
public string Id { get; set; } = string.Empty;
|
|
|
|
public List<ConfigPumpItem>? Items { get; set; }
|
|
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// Represents a configuration item related to a pump, encapsulating its settings or state data.
|
|
/// </summary>
|
|
public class ConfigPumpItem
|
|
{
|
|
public PumpEnum.AlarmType? AlarmType { get; set; }
|
|
|
|
public Dictionary<string, object>? UiConfiguration { get; set; }
|
|
|
|
public PumpEnum.PumpMessageType? Type { get; set; }
|
|
|
|
public RetentionPolicy? RetentionPolicy { get; set; }
|
|
public int? RetentionPolicyValue { get; set; }
|
|
} |