From 1f338f3f149735523101d55f9c782836f30c1ff1 Mon Sep 17 00:00:00 2001 From: 肖洋 <cathay_xy@163.com> Date: 星期一, 02 十二月 2024 14:26:14 +0800 Subject: [PATCH] 12 --- Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/MOM/ResultTrayCellsStatus.cs | 108 ++++++++++++++++++++++++++++++++++++ Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/MOM/TrayCellsStatusDto.cs | 18 ++++++ 2 files changed, 126 insertions(+), 0 deletions(-) diff --git a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/MOM/ResultTrayCellsStatus.cs b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/MOM/ResultTrayCellsStatus.cs new file mode 100644 index 0000000..41936bb --- /dev/null +++ b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/MOM/ResultTrayCellsStatus.cs @@ -0,0 +1,108 @@ +锘縰sing System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WIDESEAWCS_DTO.MOM; + +/// <summary> +/// 鎵樼洏鐢佃姱鐘舵�� +/// </summary> +public class ResultTrayCellsStatus : ResponseBasicDto +{ + /// <summary> + /// 鎵樼洏缂栧彿 + /// </summary> + public string TrayBarcode { get; set; } + + /// <summary> + /// 鐢佃姱鍒楄〃 + /// </summary> + public List<SerialNoDto> SerialNos { get; set; } = new List<SerialNoDto>(); + + /// <summary> + /// 缁戝畾浠g爜 + /// </summary> + public string BindCode { get; set; } + + /// <summary> + /// 鐢熶骇浜х嚎 + /// </summary> + public string ProductionLine { get; set; } + + /// <summary> + /// 褰撳墠宸ヨ壓宸ュ簭浠g爜 + /// </summary> + public string ProcessCode { get; set; } + + /// <summary> + /// 鏂欐灞炴�у垪琛� + /// </summary> + public List<TrayBarcodePropertyDto> TrayBarcodePropertys { get; set; } = new List<TrayBarcodePropertyDto>(); +} + +/// <summary> +/// 鐢佃姱淇℃伅妯″瀷 +/// </summary> +public class SerialNoDto +{ + /// <summary> + /// 鐢佃姱鍙� + /// </summary> + public string SerialNo { get; set; } + + /// <summary> + /// 閫氶亾鍙� + /// </summary> + public int PositionNo { get; set; } + + //public string BindCode { get; set; } + + /// <summary> + /// 鐢佃姱鐘舵�� + /// </summary> + public int SerialNoStatus { get; set; } +} + +/// <summary> +/// 鏂欐灞炴�фā鍨� +/// </summary> +public class TrayBarcodePropertyDto +{ + /// <summary> + /// 鏂欐灞炴�� + /// </summary> + public string TrayBarcodeProperty { get; set; } + + /// <summary> + /// 宸ュ簭 + /// </summary> + public List<ProcessCodes> ProcessCodes { get; set; } = new List<ProcessCodes>(); + + /// <summary> + /// 鎵樼洏瀹归噺 + /// </summary> + public double Capacity { get; set; } + + /// <summary> + /// 閫傜敤鐗╂枡缂栫爜/宸ヨ壓鍨嬪彿 + /// </summary> + public List<ProductTypes> ProductType { get; set; } = new List<ProductTypes>(); +} + +public class ProcessCodes +{ + /// <summary> + /// 宸ュ簭 + /// </summary> + public string ProcessCode { get; set; } +} + +public class ProductTypes +{ + /// <summary> + /// 閫傜敤鐗╂枡缂栫爜/宸ヨ壓鍨嬪彿 + /// </summary> + public string ProductType { get; set; } +} diff --git a/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/MOM/TrayCellsStatusDto.cs b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/MOM/TrayCellsStatusDto.cs new file mode 100644 index 0000000..f9785ba --- /dev/null +++ b/Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_DTO/MOM/TrayCellsStatusDto.cs @@ -0,0 +1,18 @@ +锘� +using WIDESEAWCS_DTO.MOM; + +/// <summary> +/// 鏁寸洏鐢佃姱灞炴�ц幏鍙� +/// </summary> +public class TrayCellsStatusDto : BasicDto +{ + /// <summary> + /// 鎵樼洏缂栧彿 + /// </summary> + public string TrayBarcode { get; set; } + + /// <summary> + /// 涓婁紶绫诲瀷 + /// </summary> + public string SceneType { get; set; } = "4"; +} -- Gitblit v1.9.3