1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- using System.ComponentModel;
- using System.ComponentModel.DataAnnotations.Schema;
- using System.Runtime.CompilerServices;
- using System.Runtime.Serialization;
- namespace GDNXFD.Data
- {
- [DataContract]
- [Table("WARNING2")]
- public class Warning : INotifyPropertyChanged
- {
- [DataMember]
- [Column("ID")]
- public string Id { get; set; }
- [DataMember]
- [Column("LEVELID")]
- public string LevelID { get; set; }
- [DataMember]
- [Column("ENGLISHTEXT")]
- public string EnglishText { get; set; }
- [DataMember]
- [Column("EDNAVALUE")]
- public long EDnaValue { get; set; }
- [DataMember]
- [Column("WARNINGCLASSIFYID")]
- public string WarningClassifyId { get; set; }
- [DataMember]
- [Column("ISRESET")]
- public int IsReset { get; set; }
- [DataMember]
- [Column("MODELID")]
- public string ModelId { get; set; }
- [DataMember]
- [Column("FAULTCODE")]
- public string FaultCode { 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));
- }
- }
- }
- }
|