コード例 #1
0
        public List <Building> GetBuildings(string userID)
        {
            var apiRequest = new APIRequest("exp/beep/v1/benchmarking/building", HttpMethod.Get);

            apiRequest.AddQueryValue("userID", userID);
            // return _apiClient.CallAPI<List<Building>>(apiRequest).Result;

            return(null);


            //for (int i = 1; i <= 10; i++)
            //{
            //    buildings.Add(new Building()
            //    {
            //        BuildingID = i,
            //        Function = "Building Type - " + i,
            //        Description = "Building Description -  " + i.ToString(),
            //        ElectricMeterID = "Meter - " + i,
            //        GasMeterID = "Gas Meter - " + i,
            //        FloorArea = i * 123,
            //        LocationCount = i * 6,
            //        Address = new Address()
            //        {
            //            AddressLine1 = i + "31" + i + " Bridgeton Trails Dr",
            //            City = "Bridgeton",
            //            State = "MO",
            //            ZipCode = 63044 + i
            //        },
            //        ConstructionStatus = "Existing",
            //        OccupancyPercent = i + 90,
            //        YearBuilt=1990+i
            //    });
            //}
            //  return buildings;
        }