1
pulg
1 天以前 8741f7e84dc7c0a1150c92758ebb2cf4b7d18c73
HH.WCS.QingXiNongfu/wms/WMSModel.cs
@@ -2,10 +2,6 @@
using HH.WCS.QingXigongchang.util;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HH.WCS.QingXigongchang.wms
{
@@ -73,6 +69,10 @@
        public int N_LAYER { get; internal set; }
        public string S_ITEM_CODE { get; internal set; }
        public string S_ITEM_NAME { get; internal set; }
        public string S_BATCH_NO { get; internal set; }
        public string S_CJ_NAME { get; set; }
    }
@@ -137,6 +137,8 @@
        {
            get; set;
        }
        public string C_ENABLE { get; set; }
        //public string S_DEEP { get; set; }
        [SugarColumn(IsIgnore = true)]
@@ -178,6 +180,7 @@
        public string S_TYPE { get; set; }
        [SugarColumn(IsIgnore = true)]
        [Navigate(NavigateType.OneToOne, nameof(S_CNTR_CODE))]
        public CntrItemRel CntrItemRel { get; set; }
@@ -215,6 +218,11 @@
        /// 半托1 0.5 半托2。 0.75  满托 1 
        /// </summary>
        public double N_BQ_TRAY_TYPE { get; set; } = 1;
        /// <summary>
        /// 厂家
        /// </summary>
        public string S_CJ_NAME { get; set; }
        public int ItemLayer { get; set; }
        [SugarColumn(IsIgnore = true)]
@@ -285,6 +293,11 @@
        public string S_ITEM_CODE { get; set; }
        public string S_ITEM_NAME { get; set; }
        public int trayHeight { get; set; }
        /// <summary>
        /// 原料pe膜三层TS高度
        /// </summary>
        public int trayHeight1 { get; set; }
        public int ItemLayer { get; set; }
        //物料所在托盘的可堆叠层数。    《》与货位容量取 最小值。 
@@ -363,6 +376,50 @@
        public string S_CNTR_STATE { get; set; }
    }
    [SuGG("库容表")]
    public class KuRong : BaseModel
    {
        /// <summary>
        /// 库位
        /// </summary>
        public string StorageLoc { get; set; }
        /// <summary>
        /// AGV总库容
        /// </summary>
        public int MaxCapacity { get; set; }
        /// <summary>
        /// 已占库容
        /// </summary>
        public int FilledCapacity { get; set; }
        /// <summary>
        /// 品相
        /// </summary>
        public string ProductItem { get; set; }
        /// <summary>
        /// 剩余库容量
        /// </summary>
        public int AvailableCapacity { get; set; }
        /// <summary>
        /// agv所需库容。
        /// </summary>
        public int DesiredCapacity { get; set; }
        /// <summary>
        /// 仓库总库容。
        /// </summary>
        public int CRC { get; set; }
        /// <summary>
        /// 剩余空库容。
        /// </summary>
        public int RAC { get; set; }
        /// <summary>
        /// 已占库容的和。
        /// </summary>
        public int DRC { get; set; }
        /// <summary>
        /// 仓库剩余总库容。
        /// </summary>
        public int BAC { get; set; }
    }
    //均州现场
    //[SugarTable("dbo.")]
@@ -378,6 +435,7 @@
        public string S_END_LAREA { get; set; }
        public string S_START_LOC { get; set; }
        public string S_END_LOC { get; set; }
        public string S_TWO_END_LOC { get; set; }
        public string S_TYPE { get; set; }
        public string S_NOTE { get; set; }
        public string S_SRC_SYS { get; set; }