namespace BPA.MES.Base.Application.Services
{
    /// <summary>
    /// 名    称 ：产线管理  
    /// 创 建 人 ：yangxiao  
    /// 创建时间 ：  2023/7/18 14:03:27 
    /// 描    述 ：  
    /// </summary>
    public class FinalCraftStepsDto
    {
        /// <summary>
        /// 成品Id
        /// </summary>
        public string FinalId { get; set; }
        /// <summary>
        /// 产线工序Id
        /// </summary>
        public string ProductLineStepsId { get; set; }
        /// <summary>
        /// 步骤
        /// </summary>
        public int Step { get; set; }
        /// <summary>
        /// 功能描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 设备产品功能Id
        /// </summary>
        public string DeviceProductFunctionId { get; set; }
        /// <summary>
        /// 设备Id
        /// </summary>
        public string DeviceId { get; set; }
        /// <summary>
        /// 产线Id
        /// </summary>
        public string LineId { get; set; }
        /// <summary>
        /// 功能参数
        /// </summary>
        public string Params { get; set; }
    }
    /// <summary>
    /// 增加
    /// </summary>
    public class FinalCraftStepsAddInput : FinalCraftStepsDto
    {

    }
    /// <summary>
    /// 更新
    /// </summary>
    public class FinalCraftStepsUpdateInput : FinalCraftStepsDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
    }
    /// <summary>
    /// 删除
    /// </summary>
    public class FinalCraftStepsDelInput
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
    }
    /// <summary>
    /// 分页
    /// </summary>
    public class FinalCraftStepsQueryPageInput : RequestPage
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 工艺Id
        /// </summary>
        public string FinalId { get; set; }
    }
    public class FinalCraftStepsQueryInput
    {
        /// <summary>
        /// 成品Id
        /// </summary>
        public string FinalId { get; set; }
        /// <summary>
        /// 工艺Id
        /// </summary>
        public string LineId { get; set; }
        /// <summary>
        /// 设备Id
        /// </summary>
        public string DeviceId { get; set; }
        /// <summary>
        /// 步骤Id
        /// </summary>
        public string ProductLineStepsId { get; set; }

    }
    /// <summary>
    /// 输出
    /// </summary>
    public class FinalCraftStepsOutput : FinalCraftStepsDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }
        /// <summary>
        /// 工艺名称
        /// </summary>
        public string CraftName { get; set; }
        /// <summary>
        /// 设备产品功能名称
        /// </summary>
        public string DeviceProductFunctionName { get; set; }
        /// <summary>
        /// 设备产品Id
        /// </summary>
        public string DeviceProductId { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string DeviceName { get; set; }
        /// <summary>
        /// 设备类型名称
        /// </summary>
        public string DeviceTypeName { get; set; }
        /// <summary>
        /// 产线工序名称
        /// </summary>
        public string ProductLineStepsName { get; set; }
        /// <summary>
        /// 参数预览
        /// </summary>
        public string ParamsValue { get; set; }
        /// <summary>
        /// 设备参数
        /// </summary>
        public string DeviceFunParams { get; set; }
        /// <summary>
        /// 设备设置参数
        /// </summary>
        public string DeviceStepParms { get; set; }
    }
    /// <summary>
    /// 复制输入参数
    /// </summary>
    public class CopyFinalCraftStepsInput
    {
        /// <summary>
        /// 成品Id
        /// </summary>
        public string FinalId { get; set; }
        /// <summary>
        /// 工艺Id
        /// </summary>
        public string LineId { get; set; }
        /// <summary>
        /// 设备Id
        /// </summary>
        public string CopyDeviceId { get; set; }
        /// <summary>
        /// 步骤Id
        /// </summary>
        public string ProductLineStepsId { get; set; }
        /// <summary>
        /// 复制到新的设备
        /// </summary>
        public string ToDeviceId { get; set; }
    }
}
