123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- using Aitex.Sorter.Common;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using MECF.Framework.Common.Equipment;
- using System.Windows.Input;
- namespace Aitex.Sorter.UI.ViewModel
- {
- public class RecipeTarget : NotifyPropertyChangedBase, ICloneable
- {
- private string index;
- public string Index
- {
- get => index;
- set
- {
- index = value;
- OnPropertyChanged("Index");
- }
- }
- private string name;
- public string Name
- {
- get => name;
- set
- {
- name = value;
- OnPropertyChanged("Name");
- }
- }
- private ModuleName value;
- public ModuleName Value
- {
- get => value;
- set
- {
- this.value = value;
- OnPropertyChanged("Value");
- }
- }
- private bool isChecked;
- public bool IsChecked
- {
- get => isChecked;
- set
- {
- isChecked = value;
- OnPropertyChanged("IsChecked");
- }
- }
- private ICommand selectCommand;
- public ICommand SelectCommand
- {
- get => selectCommand;
- set
- {
- selectCommand = value;
- OnPropertyChanged("SelectCommand");
- }
- }
-
- public object Clone()
- {
- return MemberwiseClone();
- }
- }
- }
|