28 lines
1.0 KiB
C#
28 lines
1.0 KiB
C#
|
|
using System;
|
|||
|
|
using System.ComponentModel;
|
|||
|
|
using DTS.Common.Interface;
|
|||
|
|
|
|||
|
|
namespace TTSImport.Model
|
|||
|
|
{
|
|||
|
|
public class ChannelSummary : IChannelSummary
|
|||
|
|
{
|
|||
|
|
private string _channelType = String.Empty;
|
|||
|
|
public string ChannelType { get => _channelType; set { _channelType = value; OnPropertyChanged("ChannelType"); } }
|
|||
|
|
|
|||
|
|
private int _requested = 0;
|
|||
|
|
public int Requested { get => _requested; set { _requested = value; OnPropertyChanged("Requested"); } }
|
|||
|
|
|
|||
|
|
private int _assigned = 0;
|
|||
|
|
public int Assigned { get => _assigned; set { _assigned = value; OnPropertyChanged("Assigned"); } }
|
|||
|
|
|
|||
|
|
private int _unassigned = 0;
|
|||
|
|
public int Unassigned { get => _unassigned; set { _unassigned = value; OnPropertyChanged("Unassigned"); } }
|
|||
|
|
|
|||
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|||
|
|
public void OnPropertyChanged(string propertyName)
|
|||
|
|
{
|
|||
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|