⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 roominfo.cs

📁 这个版本(InteliIM Open Kernel Release 2)是目前最新的(首次公开)
💻 CS
字号:
namespace Org.InteliIM.Applications.Tourism.Lodgement
{
	/// <summary>
	/// Represents a room of a building.
	/// </summary>
	public class RoomInfo
	{
		/// <summary>
		/// Initializes a new instance of the Room class.
		/// </summary>
		public RoomInfo()
		{
			
		}
		
		private string id;
		
		/// <summary>
		/// Gets or sets the id.
		/// </summary>
		public string Id
		{
			get
			{
				return this.id;
			}
			set
			{
				this.id = value;
			}
		}
		
		private RoomState state = RoomState.Idle;
		
		/// <summary>
		/// Gets or sets the state.
		/// </summary>
		public RoomState State
		{
			get
			{
				return this.state;
			}
			set
			{
				this.state = value;
			}
		}
		
		private RoomType type = null;
		
		/// <summary>
		/// Gets or sets the type.
		/// </summary>
		public RoomType Type
		{
			get
			{
				if(this.type == null)
					this.type = new RoomType();
				
				return this.type;
			}
			set
			{
				this.type = value;
			}
		}	
		
		private int floor = 1;
		
		/// <summary>
		/// Gets or sets the floor.
		/// </summary>
		public int Floor
		{
			get
			{
				return this.floor;
			}
			set
			{
				this.floor = value;
			}
		}
		
		private string phone;
		
		/// <summary>
		/// Gets or sets the phone.
		/// </summary>
		public string Phone
		{
			get
			{
				if(this.phone == null)
					this.phone = "";
				
				return this.phone;
			}
			set
			{
				this.phone = value;
			}
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -