Chr
2024-08-20 45c004d4bb5a6f73843a8e8020523f4df14a14e4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using PdmSwPlugin.Common.Entity;
using SolidWorks.Interop.sldworks;
using System;
using System.Collections.ObjectModel;
 
namespace PdmSwPlugin.PriceCheck.Model
{
    public partial class PriceCheckModel : NotifyBase
    {
        private SldWorks SwApp;
 
        public PriceCheckModel(SldWorks SwApp,Action action)
        {
            this.SwApp = SwApp;
            ModelProperty.Changed += action;
            PropertyList.Add(ModelProperty);
        }
 
        public ModelProperty ModelProperty = new ModelProperty();
 
        private ObservableCollection<ModelProperty> _propertyList = new ObservableCollection<ModelProperty>() { };
        public ObservableCollection<ModelProperty> PropertyList
        {
            get => _propertyList;
            set => RaiseAndSetIfChanged(ref _propertyList, value);
        }
    }
}