12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations.Schema;
- using System.Linq;
- using System.Runtime.CompilerServices;
- using System.Text;
- using System.Threading.Tasks;
- namespace GDNXFD.Data
- {
- [Table("WARNINGLEVEL")]
- public class WarningLevel : INotifyPropertyChanged
- {
- [Column("ID")]
- public string Id { get; set; }
- [Column("LEVELS")]
- public int Levels { get; set; }
- [Column("COLOR")]
- public string Color { get; set; }
- [Column("DECRIPTION")]
- public string Description { get; set; }
- [Column("ICON")]
- public string Icon { get; set; }
- [Column("SOUND")]
- public string Sound { get; set; }
- /// <summary>
- /// Property changed event
- /// </summary>
- public event PropertyChangedEventHandler PropertyChanged;
- private void RaisePropertyChanged([CallerMemberName] string caller = "")
- {
- if (PropertyChanged != null)
- {
- PropertyChanged(this, new PropertyChangedEventArgs(caller));
- }
- }
- }
- }
|