123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace MeterVision.db
- {
- public class VPatchStation : INotifyPropertyChanged
- {
- public event PropertyChangedEventHandler PropertyChanged;
- protected void OnPropertyChanged(string propertyName)
- {
- PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
- }
- public string PatchId{ get; set;}
- public string StationId { get; set; }
- public int TotalCount { get; set; }
- private int _errorCount;
- public int ErrorCount
- {
- get => _errorCount;
- set
- {
- if(_errorCount != value)
- {
- _errorCount = value;
- OnPropertyChanged(nameof(ErrorCount));
- }
- }
- }
- private int _equalCount;
- public int EqualCount
- {
- get => _equalCount;
- set
- {
- if (_equalCount != value)
- {
- _equalCount = value;
- OnPropertyChanged(nameof(EqualCount));
- }
- }
- }
- private int _invalidCount;
- public int InvalidCount
- {
- get => _invalidCount;
- set
- {
- if (_invalidCount != value)
- {
- _invalidCount = value;
- OnPropertyChanged(nameof(InvalidCount));
- }
- }
- }
- public int Index { get; set; }
- public VPatchStation()
- {
- }
- //-------------------------------------------------------
- }
- }
|