/// <summary> /// Map the xml configuration file of floor into the <c>FloorLayout</c> class. After mapping /// these records convert into the <c>IFloor</c> type and assign to the <c>Floors</c> property. /// </summary> public void CreateFloor() { MapConfigToClassForFloorStructure mapConfig = new MapConfigToClassForFloorStructure(); this.normalFloors = mapConfig.GetNormalFloorLayout(); //.ConvertAll(r => (Floor)r); //TODO : for entry exit floor. //this.entryexitFloors = mapConfig.GetNormalFloorLayout(); //.ConvertAll(r => (Floor)r); }
public void TestCreateFloor() { MapConfigToClassForFloorStructure mapConfig = new MapConfigToClassForFloorStructure(); // this.floors = mapConfig.TestGetFloorLayout().ConvertAll(r => (Floor)r); }