44 lines
1.7 KiB
C#
44 lines
1.7 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace 点检
|
|
{
|
|
class CheckViewModel : INotifyPropertyChanged
|
|
{
|
|
|
|
private string _name;
|
|
public string name { get => _name; set { _name = value; RaisePropertyChanged("name"); } }
|
|
private string _devcode1;
|
|
/// <summary>
|
|
/// 夹具1
|
|
/// </summary>
|
|
public string devcode1 { get => _devcode1; set { _devcode1 = value; RaisePropertyChanged("devcode1"); } }
|
|
private string _devcode2;
|
|
/// <summary>
|
|
/// 夹具1
|
|
/// </summary>
|
|
public string devcode2 { get => _devcode2; set { _devcode2 = value; RaisePropertyChanged("devcode2"); } }
|
|
private string _devcode1no;
|
|
public string devcode1no { get => _devcode1no; set { _devcode1no = value; RaisePropertyChanged("devcode1no"); } }
|
|
private string _devcode2no;
|
|
public string devcode2no { get => _devcode2no; set { _devcode2no = value; RaisePropertyChanged("devcode2no"); } }
|
|
private string _type;
|
|
public string type { get => _type; set { _type = value; RaisePropertyChanged("type"); } }
|
|
private string _snimei;
|
|
public string snimei { get => _snimei; set { _snimei = value; RaisePropertyChanged("snimei"); } }
|
|
public string User { get; set; }
|
|
|
|
private string _Msg;
|
|
public string Msg { get => _Msg; set { _Msg = value; RaisePropertyChanged("Msg"); } }
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
protected virtual void RaisePropertyChanged(string propertyname)
|
|
{
|
|
this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyname));
|
|
}
|
|
}
|
|
}
|