RobotConfig.cs 1.49 KB
using FreeSql.DataAnnotations;
using HHECS.DataContract;

namespace HHECS.RobotTool.Model
{
    /// <summary>
    /// 机器人默认输入参数配置表
    /// </summary>
    [Table(Name = nameof(RobotConfig))]
    [Index($"idx_{nameof(RobotConfig)}_{nameof(Code)}", $"{nameof(Code)}", true)]
    internal class RobotConfig : BaseEntityCU<int>
    {
        /// <summary>
        /// 编号
        /// </summary>
        public string Code { get; set; } = null!;

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; } = null!;

        /// <summary>
        /// 焊丝直径R(mm)
        /// </summary>
        public double WeldingWire { get; set; }

        /// <summary>
        /// 坡口预留间隙a2(mm)
        /// </summary>
        public double ReservedGap { get; set; }

        /// <summary>
        /// 坡口钝边大小h2(mm)
        /// </summary>
        public double BluntEdgeSize { get; set; }

        /// <summary>
        /// 焊缝长度L(mm)
        /// </summary>
        public double WeldLength { get; set; }

        /// <summary>
        /// 盖面后单边所需增加余宽 a3(mm)
        /// </summary>
        public double WeldWidth { get; set; }

        /// <summary>
        /// 盖面后所需焊缝余高 h3(mm)
        /// </summary>
        public double WeldHeight { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
    }
}