From b7308bba3d7ffad271ce7fc7a93c8c45d76be87d Mon Sep 17 00:00:00 2001 From: 杨前锦 <1010338399@qq.com> Date: 星期五, 13 六月 2025 17:21:03 +0800 Subject: [PATCH] 优化印尼佳通-硫化胚胎出入库逻辑策略优化 --- HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/models/Location.cs | 70 +++++++++++++++++++++++++++++++++++ 1 files changed, 70 insertions(+), 0 deletions(-) diff --git a/HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/models/Location.cs b/HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/models/Location.cs new file mode 100644 index 0000000..970a043 --- /dev/null +++ b/HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/models/Location.cs @@ -0,0 +1,70 @@ +using HH.WCS.Mobox3.FJJT.models; +using SqlSugar; +using System; + +namespace HH.WCS.Mobox3.FJJT { + + [SugarTable("TN_Location")] + public class Location : BaseModel { + + + public string S_WH_CODE { get; set; }=util.Settings.WHCode; + public string S_CODE { get; set; } + public string S_NAME { get; set; } + public string S_AREA_CODE { get; set; } + public int N_CAPACITY { get; set; } + public string S_AGV_SITE { get; set; } + public int N_CURRENT_NUM { get; set; } + public DateTime? T_EMPTY_TIME { get; set; } + public DateTime? T_FULL_TIME { get; set; } + public string S_NOTE { get; set; } + public int N_LENGTH { get; set; } + public int N_WIDTH { get; set; } + public int N_HEIGHT { get; set; } + public int N_AGV_SITE_LAYER { get; set; } + public int N_ROADWAY { get; set; } + public int N_ROW { get; set; } + public int N_COL { get; set; } + public int N_LAYER { get; set; } + public string S_TYPE { get; set; } + + /// <summary> + /// 0鏃�1鍏ュ簱閿�2鍑哄簱閿�3鍏跺畠閿�+ /// </summary> + public string S_LOCK_STATE { get; set; } + public int N_TYPE { get; set; } + /// <summary> + /// 0鏃�1鍏ュ簱閿�2鍑哄簱閿�3鍏跺畠閿�+ /// </summary> + public int N_LOCK_STATE { get; set; } + public int N_PURPOSE { get; set; } + public string S_PURPOSE { get; set; } + public string C_ENABLE { get; set; } + public string C_SAME_GOOD { get; set; } + public string C_SAME_BATCH { get; set; } + public string C_SPECIFY_ITEM { get; set; } + public string S_ITEM_CODE { get; set; } + public string S_ITEM_NAME { get; set; } + public string S_LOCK_OP { get; set; } + public string S_STATE_PRE { get; set; } + public int N_REVIEW_RESULT { get; set; } + + public int N_POS { get; set; } + public string S_GROUP { get; set; } + + [SugarColumn(IsIgnore = true)] + [Navigate(NavigateType.OneToMany, nameof(S_CODE))] + public LocCntrRel LocCntrRel { get; set; } + + internal static string GetLockStateStr(int lockState) { + var str = ""; + switch (lockState) { + case 0: str = "鏃�; break; + case 1: str = "鍏ュ簱閿�; break; + case 2: str = "鍑哄簱閿�; break; + case 3: str = "鍏跺畠閿�; break; + } + return str; + } + } +} -- Gitblit v1.9.1