1
czw
2025-07-02 cdb157e6d887b4d8aa103c51b62194a94bb1fb28
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; }
    }
@@ -216,6 +216,11 @@
        /// </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)]
        public int qty
@@ -285,6 +290,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 +373,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 +432,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; }