public Room(MapObjectType mapObjectType, MapObjectDepartment department, long buildingId, int floor, String description = "") : base(mapObjectType.TypeOfMapObject, description) { Department = department; Floor = floor; BuildingId = buildingId; FormatObjectDescription(Description); }
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); }