Files
1440WGJ/JY.Inspection/ViewModel/FrmMesSettingVM.cs
T

103 lines
2.6 KiB
C#
Raw Normal View History

2026-07-14 13:55:17 +08:00
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(); }
}
2026-07-15 16:32:52 +08:00
private string loginMesUrl;
/// <summary>
/// Mes登录接口地址
/// </summary>
public string LoginMesUrl
{
get { return loginMesUrl; }
set { loginMesUrl = value; OnPropertyChanged(); }
}
2026-07-28 10:51:38 +08:00
private string equipAlarmUrl;
/// <summary>
/// 设备报警接口地址
/// </summary>
public string EquipAlarmUrl
{
get { return equipAlarmUrl; }
set { equipAlarmUrl = value; OnPropertyChanged(); }
}
2026-07-28 15:43:17 +08:00
private string equipStatusUrl;
2026-07-28 10:51:38 +08:00
2026-07-28 15:43:17 +08:00
/// <summary>
/// 设备状态接口地址
/// </summary>
public string EquipStatusUrl
{
get { return equipStatusUrl; }
set { equipStatusUrl = value; OnPropertyChanged(); }
}
2026-07-15 16:32:52 +08:00
2026-07-14 13:55:17 +08:00
private string productType;
/// <summary>
/// 产品型号
/// </summary>
public string ProductType
{
get { return productType; }
set { productType = value; OnPropertyChanged(); }
}
2026-08-26 14:53:08 +08:00
private int taskInterval;
public int TaskInterval
{
get { return taskInterval; }
set { taskInterval = value; OnPropertyChanged(); }
}
2026-07-14 13:55:17 +08:00
}
}