ProcessFeedbackModel.cs 4.03 KB
using Hh.Mes.POJO.EnumEntitys;
using System;
using System.Collections.Generic;

namespace Hh.Mes.POJO.Entity
{
    public class ProcessFeedbackModel
    {
        /// <summary>
        ///  唯一标识ID 
        /// </summary>
        public string plmeid { get; set; }

        /// <summary>
        /// 工单
        /// </summary>
        public string workorder_code { get; set; }

        /// <summary>
        /// 工序
        /// </summary>
        public string oprsequence_code { get; set; }

        /// <summary>
        /// 产品/半成品序列号
        /// </summary>
        public string serial_number { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime star_time { get; set; }

        /// <summary>
        /// 完成时间
        /// </summary>
        public DateTime end_time { get; set; }

        /// <summary>
        /// 工序耗时(整数)
        /// </summary>
        /// <remarks>单位:分钟</remarks>
        public int timesum { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public string createby { get; set; }

        /// <summary>
        /// 开工或者完工
        /// </summary>
        /// <remarks><see cref="EnumOrderBodyType"/></remarks>
        public int flag { get; set; }

        /// <summary>
        ///  数据传输类型
        /// </summary>
        /// <remarks><see cref="EnumAction"/></remarks>
        public string type { get; set; }

        /// <summary>
        /// 焊接工艺参数
        /// </summary>
        public List<weldParam> weldParamList { get; set; } = new List<weldParam>();
    }

    public class weldParam
    {
        /// <summary>
        /// 焊缝编号
        /// </summary>
        public string weld_no { get; set; }

        /// <summary>
        /// 焊接工艺程序号 VARCHAE(64)
        /// </summary>
        public string program_number { get; set; }

        /// <summary>
        /// 当前焊接层号  int
        /// </summary>
        public int nowpass_number { get; set; }

        /// <summary>
        /// 焊接区间个数 int
        /// </summary>
        public int sector_number { get; set; }

        /// <summary>
        /// 管径 decimal (18, 2)	
        /// </summary>
        public double diameter { get; set; }

        /// <summary>
        /// 壁厚  decimal (18, 2)	
        /// </summary>
        public double thickness { get; set; }

        /// <summary>
        /// 预送气 decimal (18, 2)	
        /// </summary>
        public double pegas { get; set; }

        /// <summary>
        /// 滞后送气    decimal (18, 2)	
        /// </summary>
        public double postgas { get; set; }

        /// <summary>
        /// 预熔电流    decimal (18, 2)	
        /// </summary>
        public double preweld_current { get; set; }

        /// <summary>
        /// 预熔时间    decimal (18, 2)	
        /// </summary>
        public double preweld_time { get; set; }

        /// <summary>
        /// 预热温度
        /// </summary>
        /// <remarks>产线系统读取配置,设备电气不提供</remarks>
        public string preheat_temp { get; set; }

        /// <summary>
        /// 层间温度
        /// </summary>
        /// <remarks>产线系统读取配置,设备电气不提供</remarks>
        public string layer_temp { get; set; }

        /// <summary>
        /// 背面气体流量
        /// </summary>
        /// <remarks>产线系统读取配置,设备电气不提供</remarks>
        public string back_gasflow { get; set; }

        /// <summary>
        /// 焊接电流
        /// </summary>
        public string current_value { get; set; }

        /// <summary>
        /// 电弧电压
        /// </summary>
        public string voltage_value { get; set; }

        /// <summary>
        /// 焊接速度
        /// </summary>
        public string weld_speed { get; set; }

        /// <summary>
        /// 保护气体流量
        /// </summary>
        public string protect_gasflow { get; set; }
    }
}