using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Step.Model.DTOModels.ToolModels { // Tool with family data public class DTONewNcToolWithFamilyModel : DTONewNcToolModel { // Family fields public string Name { get; set; } public byte ToolType { get; set; } public byte RightSize { get; set; } public byte LeftSize { get; set; } public byte TcpTable { get; set; } public byte Gamma { get; set; } public byte RotationType { get; set; } public bool Cooling { get; set; } public bool Cooling1 { get; set; } public bool Cooling2 { get; set; } public bool Cooling3 { get; set; } public bool Cooling4 { get; set; } public bool Cooling5 { get; set; } public bool Cooling6 { get; set; } public bool Cooling7 { get; set; } public int MaxSpeed { get; set; } public byte MaxLoad { get; set; } public byte MinLoadPctAutoload { get; set; } public byte MaxLoadPctAutoload { get; set; } public byte DynamicCompensation { get; set; } public byte MinLoadDynamicCompensation { get; set; } public byte MaxLoadDynamicCompensation { get; set; } public byte LifeType { get; set; } public int NominalLife { get; set; } public int ReviveDelta { get; set; } } public class DTONcToolWithFamilyModel : DTONcToolModel { // Family fields [Required] public string Name { get; set; } [Required] public byte ToolType { get; set; } [Required] public byte RightSize { get; set; } [Required] public byte LeftSize { get; set; } [Required] public byte TcpTable { get; set; } [Required] public byte Gamma { get; set; } [Required] public byte RotationType { get; set; } [Required] public bool Cooling { get; set; } [Required] public bool Cooling1 { get; set; } [Required] public bool Cooling2 { get; set; } [Required] public bool Cooling3 { get; set; } [Required] public bool Cooling4 { get; set; } [Required] public bool Cooling5 { get; set; } [Required] public bool Cooling6 { get; set; } [Required] public bool Cooling7 { get; set; } [Required] public int MaxSpeed { get; set; } [Required] public byte MaxLoad { get; set; } [Required] public byte MinLoadPctAutoload { get; set; } [Required] public byte MaxLoadPctAutoload { get; set; } [Required] public byte DynamicCompensation { get; set; } [Required] public byte MinLoadDynamicCompensation { get; set; } [Required] public byte MaxLoadDynamicCompensation { get; set; } [Required] public byte LifeType { get; set; } [Required] public int NominalLife { get; set; } [Required] public int ReviveDelta { get; set; } } }