using System; using System.Xml.Serialization; using System.Collections.Generic; using Top.Api; namespace DingTalk.Api.Response { /// /// OapiRhinoMosLayoutOperationdefsListsimpleResponse. /// public class OapiRhinoMosLayoutOperationdefsListsimpleResponse : DingTalkResponse { /// /// 错误码 /// [XmlElement("errcode")] public long Errcode { get; set; } /// /// 错误提示 /// [XmlElement("errmsg")] public string Errmsg { get; set; } /// /// 工序定义图 /// [XmlArray("result")] [XmlArrayItem("operation_def_dto")] public List Result { get; set; } /// /// OperationDefDtoDomain Data Structure. /// [Serializable] public class OperationDefDtoDomain : TopObject { /// /// 适用尺码(即将下线,后续迁移到applicable_size_list) /// [XmlElement("applicable_size_code")] public string ApplicableSizeCode { get; set; } /// /// 适用尺码列表 /// [XmlArray("applicable_size_list")] [XmlArrayItem("string")] public List ApplicableSizeList { get; set; } /// /// 是否需要调度 /// [XmlElement("auto_schedule")] public bool AutoSchedule { get; set; } /// /// 业务编码 /// [XmlElement("biz_code")] public string BizCode { get; set; } /// /// 工艺内容ID(bop) /// [XmlElement("biz_id_dtech_item")] public string BizIdDtechItem { get; set; } /// /// 业务来源 /// [XmlElement("biz_source")] public string BizSource { get; set; } /// /// 进入条件:ANY_MATCH/ALL_MATCH /// [XmlElement("enter_condition")] public string EnterCondition { get; set; } /// /// 执行系统 /// [XmlElement("exec_system")] public string ExecSystem { get; set; } /// /// PaaSflowID(只用于返回,保存会自增) /// [XmlElement("flow_id")] public long FlowId { get; set; } /// /// 工序定义版本 /// [XmlElement("flow_version")] public long FlowVersion { get; set; } /// /// 工艺内容版本(bop) /// [XmlElement("item_version")] public long ItemVersion { get; set; } /// /// 工序名称 /// [XmlElement("name")] public string Name { get; set; } /// /// 工序外部ID /// [XmlElement("operation_external_id")] public string OperationExternalId { get; set; } /// /// 工序类型:ASSIST/QUALITY_INSPECT/TECHNOLOGY /// [XmlElement("operation_type")] public string OperationType { get; set; } /// /// 工序唯一ID /// [XmlElement("operation_uid")] public long OperationUid { get; set; } /// /// 工序编码(同订单内唯一) /// [XmlElement("process_code")] public string ProcessCode { get; set; } /// /// 工序能力类型:SJ/PP/TR等 /// [XmlElement("process_type_code")] public string ProcessTypeCode { get; set; } /// /// 工段CODE:F-SL/C.. /// [XmlElement("section_code")] public string SectionCode { get; set; } /// /// 工段名称:缝制-碎料/裁床.. /// [XmlElement("section_name")] public string SectionName { get; set; } /// /// 是否跳过(不生产) /// [XmlElement("skip")] public bool Skip { get; set; } /// /// 标准工时/秒 /// [XmlElement("std_cost")] public string StdCost { get; set; } } } }