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);
|
}
|
}
|
}
|