You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
978 B
C#
44 lines
978 B
C#
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 属性
|
|
/// <summary>
|
|
/// 型号
|
|
/// </summary>
|
|
private string _MaterialType;
|
|
public string MaterialType
|
|
{
|
|
get { return _MaterialType; }
|
|
set { _MaterialType = value; RaisePropertyChanged(); }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 单选框
|
|
/// </summary>
|
|
private bool _IsDetectionChecked;
|
|
public bool IsDetectionChecked
|
|
{
|
|
get { return _IsDetectionChecked; }
|
|
set { _IsDetectionChecked = value; RaisePropertyChanged(); }
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
}
|