lixiaojun
2024-12-10 aabff7f27021a23a433d50a74daba4f3888f82d5
WinFrmUI/HStation.WinFrmUI.Assets.Core/10-exchanger/02-main/ExchangerViewModel.cs
@@ -1,4 +1,5 @@
using System.ComponentModel;
using DevExpress.Mvvm.POCO;
using System.ComponentModel;
namespace HStation.WinFrmUI.Assets
{
@@ -8,9 +9,10 @@
        {
        }
        public ExchangerViewModel(Vmo.AssetsExchangerMainVmo rhs)
        public ExchangerViewModel(Vmo.AssetsExchangerMainVmo rhs, long catalogId)
        {
            this.ID = rhs.ID;
            this.CatalogID = catalogId;
            this.Description = rhs.Description;
            if (rhs.Material == null)
            {
@@ -56,6 +58,8 @@
        [Browsable(true)]
        public string Name { get; set; }
        public long CatalogID { get; set; }
        /// <summary>
        /// 材料
        /// </summary>