using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CollaborativePlatformMain.DFEntity.MessageSubUtil { /// /// /// 文件名(File Name): LevelTableEntity.cs /// /// 描述(Description): 标高表创建实体类 /// /// 数据表(Tables): nothing /// /// 作者(Author): Ou Rui Song /// /// 日期(Create Date): 2024年1月16日08:50:18 /// /// 修改记录(Revision History): /// R1: /// 修改作者: /// 修改日期: /// 修改理由: /// /// public class LevelTableEntity : INotifyPropertyChanged { public LevelTableEntity() { } /// /// 结构标高 /// /// 层号 /// 结构标高 /// 层高 public LevelTableEntity(string juID, string levelNmae, double structuralElevation, double floorHeight) { LevelNmae = levelNmae; StructuralElevation = structuralElevation; FloorHeight = floorHeight; JuID = juID; } /// /// 唯一id /// public string JuID { get; set; } /// /// 层号 /// public string levelNmae { get; set; } public string LevelNmae { get { return levelNmae; } set { if (value != levelNmae) { levelNmae = value; NotifyPropertyChanged("LevelNmae"); } } } /// /// 结构标高 /// public double structuralElevation { get; set; } public double StructuralElevation { get { return structuralElevation; } set { if (value != structuralElevation) { structuralElevation = value; NotifyPropertyChanged("StructuralElevation"); } } } //层高 public double floorHeight { get; set; } public double FloorHeight { get { return floorHeight; } set { if (value != floorHeight) { floorHeight = value; NotifyPropertyChanged("FloorHeight"); } } } public event PropertyChangedEventHandler PropertyChanged; private void NotifyPropertyChanged(string propertyName = "") { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); } } }