using RIZO.Model.MES.recipe.Dto;
using MDM.Models.Process;
using System.ComponentModel.DataAnnotations;
namespace MDM.Model.Process.Dto
{
///
/// 查询对象
///
public class ProcessOperationWorkstationMappingQueryDto : PagerInfo
{
public string? FkRoutingCode { get; set; }
public string? FkOperationCode { get; set; }
public string? FkWorkstationCode { get; set; }
public string? FkProductlinebodyCode { get; set; }
}
///
/// 输入输出对象
///
public class ProcessOperationWorkstationMappingDto
{
public int Id { get; set; }
[Required(ErrorMessage = "工艺路线不能为空")]
public string FkRoutingCode { get; set; }
///
/// 工厂code
///
public string FkFactoryCode { get; set; }
///
/// 车间code
///
public string FkWorkshopcode { get; set; }
[Required(ErrorMessage = "线体不能为空")]
public string FkProductlinebodyCode { get; set; }
[Required(ErrorMessage = "工序code不能为空")]
public string FkOperationCode { get; set; }
[Required(ErrorMessage = "工位ID不能为空")]
public string FkWorkstationCode { get; set; }
public string IsActive { get; set; }
public int? Priority { get; set; }
public decimal StandardTime { get; set; }
public decimal SetupTime { get; set; }
public DateTime? CreatedTime { get; set; }
public string CreatedBy { get; set; }
public string Remark { get; set; }
public DateTime? UpdatedTime { get; set; }
public string UpdatedBy { get; set; }
}
///
/// 工序工位详情
///
public class ProcessOperationWorkstationMappingInfoDto : ProcessOperationWorkstationMappingDto
{
///
/// 绑定的plc地址
///
public string PlcAddress { get; set; }
///
/// 关联的流程
///
public List OperationFlows { set; get; }
///
/// 关联的配方及其配方参数
///
public List OperationRecipeParameters { set; get; }
///
/// 关联的采集参数
///
public List ProcessOperationWorkstationCollectParameters { set; get; }
///
/// 关联的物料参数
///
public List ProcessOperationFlowMaterialParamters { set; get; }
}
}