添加项目文件。
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace JY.Inspection.ViewModel
|
||||
{
|
||||
public class ObservableObject : INotifyPropertyChanged
|
||||
{
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void OnPropertyChanged([CallerMemberName] string propertyName = null)
|
||||
{
|
||||
if (PropertyChanged != null)
|
||||
{
|
||||
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class FrmMesSettingVM : ObservableObject
|
||||
{
|
||||
private string stationArrivalUrl;
|
||||
|
||||
/// <summary>
|
||||
/// Mes电池进站接口地址
|
||||
/// </summary>
|
||||
public string StationArrivalUrl
|
||||
{
|
||||
get { return stationArrivalUrl; }
|
||||
set { stationArrivalUrl = value; OnPropertyChanged(); }
|
||||
}
|
||||
|
||||
private string stationExitUrl;
|
||||
|
||||
/// <summary>
|
||||
/// Mes电池出站接口地址
|
||||
/// </summary>
|
||||
public string StationExitUrl
|
||||
{
|
||||
get { return stationExitUrl; }
|
||||
set { stationExitUrl = value; OnPropertyChanged(); }
|
||||
}
|
||||
|
||||
private string productType;
|
||||
|
||||
/// <summary>
|
||||
/// 产品型号
|
||||
/// </summary>
|
||||
public string ProductType
|
||||
{
|
||||
get { return productType; }
|
||||
set { productType = value; OnPropertyChanged(); }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user