34 lines
1.6 KiB
C#
34 lines
1.6 KiB
C#
using System;
|
|
using System.ComponentModel;
|
|
using DTS.Common.Interface;
|
|
|
|
namespace TTSImport.Model
|
|
{
|
|
public class DasSummary : IDasSummary
|
|
{
|
|
private string _dasSerial;
|
|
public string DASSerial { get => _dasSerial; set { _dasSerial = value; OnPropertyChanged("DASSerial"); } }
|
|
|
|
private string _eidFound;
|
|
public string EIDFound { get => _eidFound; set { _eidFound = value; OnPropertyChanged("EIDFound"); } }
|
|
|
|
private string _batteryVoltageStatus;
|
|
public string BatteryVoltageStatus { get => _batteryVoltageStatus; set { _batteryVoltageStatus = value; OnPropertyChanged("BatteryVoltageStatus"); } }
|
|
|
|
private System.Windows.Media.SolidColorBrush _batteryVoltageColor;
|
|
public System.Windows.Media.SolidColorBrush BatteryVoltageColor { get => _batteryVoltageColor; set { _batteryVoltageColor = value; OnPropertyChanged("BatteryVoltageColor"); } }
|
|
|
|
private string _inputVoltageStatus;
|
|
public string InputVoltageStatus { get => _inputVoltageStatus; set { _inputVoltageStatus = value; OnPropertyChanged("InputVoltageStatus"); } }
|
|
|
|
private System.Windows.Media.SolidColorBrush _inputVoltageColor;
|
|
public System.Windows.Media.SolidColorBrush InputVoltageColor { get => _inputVoltageColor; set { _inputVoltageColor = value; OnPropertyChanged("InputVoltageColor"); } }
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
public void OnPropertyChanged(string propertyName)
|
|
{
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
}
|
|
}
|
|
}
|