| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- /* ==============================================================================
- * 功能描述:业务空间
- * 创 建 者:Garrett
- * 创建日期:2018/3/30 10:17:05
- * ==============================================================================*/
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using Newtonsoft.Json.Linq;
- using SAGA.DotNetUtils;
- using SAGA.DotNetUtils.Logger;
- using SAGA.DotNetUtils.WPF;
- using SAGA.MBI.Common;
- using SAGA.MBI.JsonConvert;
- using SAGA.MBI.RequestData;
- using SAGA.MBI.WinView.ModeInfoMaintenance;
- using WPG.Data;
- using WPG.UserControls;
- namespace SAGA.MBI.Model
- {
- /// <summary>
- /// MSpace
- /// </summary>
- public class MBSpace : MRevitEquipBase
- {
- public MBSpace(string floorId, string bimMId)
- {
- FloorId = floorId;
- BimID = bimMId;
- }
- #region AttachProperty
-
- #endregion
- #region CloudProperty
- private string m_Name;
- [Description("RoomName")]
- public string Name
- {
- get { return m_Name; }
- set
- {
- m_Name = value;
- NotifyPropertyChanged("Name");
- }
- }
- private string m_LocalId;
- [Description("RoomLocalID")]
- public string LocalId
- {
- get { return m_LocalId; }
- set
- {
- m_LocalId = value;
- NotifyPropertyChanged("LocalId");
- }
- }
- private string m_LocalName;
- [Description("RoomLocalName")]
- public string LocalName
- {
- get { return m_LocalName; }
- set
- {
- m_LocalName = value;
- NotifyPropertyChanged("LocalName");
- }
- }
- #endregion CloudProperty
- #region Method
- public override string ToString()
- {
- string result = this.LocalName;
- if (result.IsNotNullEmpty())
- return result;
- result = this.Name;
- if (result.IsNotNullEmpty())
- return result;
- return "未知";
- }
-
- #endregion
- }
- }
|