Ejemplo n.º 1
0
        public Room(MapObjectType mapObjectType, MapObjectDepartment department, long buildingId, int floor, String description = "")
            : base(mapObjectType.TypeOfMapObject, description)
        {
            Department = department;
            Floor      = floor;
            BuildingId = buildingId;

            FormatObjectDescription(Description);
        }
Ejemplo n.º 2
0
        public Room(TypeOfMapObject mapObjectType, DepartmentOfMapObject department, MapObject building, int floor, String description = "")
            : base(mapObjectType, description)
        {
            Department = new MapObjectDepartment(department);
            Floor      = floor;
            BuildingId = building.MapObjectEntity.Id;

            FormatObjectDescription(Description);
        }