DD.WellWorkover.Cloud/AsbCloudApp/Data/ProcessMaps/ProcessMapPlanFunctionsOscillationDto.cs

51 lines
1.3 KiB
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
namespace AsbCloudApp.Data.ProcessMaps;
/// <summary>
/// РТК план осцилляция
/// </summary>
public class ProcessMapPlanFunctionsOscillationDto : ProcessMapPlanBaseDto
{
/// <summary>
/// Оптимальный угол осцилляции, градусы
/// </summary>
[Range(0.0, 6000.0)]
public double OptimalOscillationAngle { get; set; }
/// <summary>
/// Скорость вправо, об/мин
/// </summary>
[Range(0.0, 270.0)]
public double RPMRight { get; set; }
/// <summary>
/// Скорость влево, об/мин
/// </summary>
[Range(0.0, 270.0)]
public double RPMLeft { get; set; }
/// <summary>
/// Ограничение момента вправо, кН*м
/// </summary>
[Range(0.0, 35.0)]
public double TorqueLimitRight { get; set; }
/// <summary>
/// Ограничение момента влево, кН*м
/// </summary>
[Range(0.0, 35.0)]
public double TorqueLimitLeft { get; set; }
/// <summary>
/// Режим Авто/Руч
/// </summary>
[Required]
public double Mode { get; set; }
/// <summary>
/// Примечание
/// </summary>
[StringLength(1024)]
public string Note { get; set; } = string.Empty;
}