1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- 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("WINDPOWERSTATIONTESTINGPOINT")]
- public class WindPowerStationTestingPoint : INotifyPropertyChanged
- {
- private string _id;
- private string _stationId;
- private string _uniformCode;
- [Column("CODE")]
- public string Id
- {
- get { return _id; }
- set
- {
- _id = value;
- RaisePropertyChanged();
- }
- }
- [Column("WINDPOWERSTATIONID")]
- public string StationId
- {
- get { return _stationId; }
- set
- {
- _stationId = value;
- RaisePropertyChanged();
- }
- }
- [Column("UNIFORMCODE")]
- public string UniformCode
- {
- get { return _uniformCode; }
- set
- {
- _uniformCode = value;
- RaisePropertyChanged();
- }
- }
- /// <summary>
- /// Property changed event
- /// </summary>
- public event PropertyChangedEventHandler PropertyChanged;
- private void RaisePropertyChanged([CallerMemberName] string caller = "")
- {
- if (PropertyChanged != null)
- {
- PropertyChanged(this, new PropertyChangedEventArgs(caller));
- }
- }
- }
- }
|