123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- 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
- {
- //ID, CODE, NAME, MODEL, VALUEUNIT, ENGLISHNAME, TYPEID,
- //MAXVAL, MINVAL, REASONABLEMAXVAL, REASONABLEMINVAL, MODELID, UNIFORMCODE
- [Table("TESTINGPOINTAI2")]
- public class TestingPointAI : TestingPointBase, INotifyPropertyChanged
- {
- [Column("ID")]
- public string Id { get; set; }
- [Column("MODEL")]
- public string ModelId { get; set; }
- [Column("UNIFORMCODE")]
- public override string UniformCode { get; set; }
- [Column("NAME")]
- public override string Name { get; set; }
- //[Column("CODE")]
- //public string Code { get; set; }
- //[Column("MODEL")]
- //public string Model { get; set; }
- //[Column("VALUEUNIT")]
- //public string ValueUnit { get; set; }
- //[Column("ENGLISHNAME")]
- //public string EnglishName { get; set; }
- //[Column("TYPEID")]
- //public string TypeId { get; set; }
- //[Column("MINVAL")]
- //public decimal? MinVal { get; set; }
- //[Column("MAXVAL")]
- //public decimal? MaxVal { get; set; }
- //[Column("REASONABLEMINVAL")]
- //public decimal? ReasonableMinVal { get; set; }
- //[Column("REASONABLEMAXVAL")]
- //public decimal? ReasonableMaxVal { 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));
- }
- }
- }
- }
|