using GalaSoft.MvvmLight; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SlnMesnac.WPF.ViewModel { public class SetKindWindowViewModel : ObservableObject { public SetKindWindowViewModel(string materialType) { MaterialType = materialType; } #region 属性 /// /// 型号 /// private string _MaterialType; public string MaterialType { get { return _MaterialType; } set { _MaterialType = value; RaisePropertyChanged(); } } /// /// 单选框 /// private bool _IsDetectionChecked; public bool IsDetectionChecked { get { return _IsDetectionChecked; } set { _IsDetectionChecked = value; RaisePropertyChanged(); } } #endregion } }