Skip to content

Commit 60aa077

Browse files
committed
更新了 24 小时天气预报 API 调用功能,库调用方法略微改动。
2 parents d4f67bd + 74a334e commit 60aa077

File tree

15 files changed

+15
-11
lines changed

15 files changed

+15
-11
lines changed

QWeatherAPI.sln

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,34 +5,34 @@ VisualStudioVersion = 17.1.32319.34
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{44E5474F-E747-4C6B-8EC3-3FA2137B28F1}"
77
EndProject
8-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "QWeatherAPI", "src\QWeather\QWeatherAPI.csproj", "{512C62B8-1438-428D-A5F1-EE693B0F3880}"
9-
EndProject
108
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ExampleApp", "ExampleApp", "{277729BC-FD5E-4ABE-9B9D-497339136803}"
119
EndProject
1210
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ExampleConsoleApp", "src\ExampleApp\ExampleConsoleApp\ExampleConsoleApp.csproj", "{ADB86DF0-98EF-4673-83AC-328B9B5F1D6A}"
1311
EndProject
12+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "QWeatherAPI", "src\QWeatherAPI\QWeatherAPI.csproj", "{D41C1F5C-0540-48A0-B906-16742A22B5F4}"
13+
EndProject
1414
Global
1515
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1616
Debug|Any CPU = Debug|Any CPU
1717
Release|Any CPU = Release|Any CPU
1818
EndGlobalSection
1919
GlobalSection(ProjectConfigurationPlatforms) = postSolution
20-
{512C62B8-1438-428D-A5F1-EE693B0F3880}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21-
{512C62B8-1438-428D-A5F1-EE693B0F3880}.Debug|Any CPU.Build.0 = Debug|Any CPU
22-
{512C62B8-1438-428D-A5F1-EE693B0F3880}.Release|Any CPU.ActiveCfg = Release|Any CPU
23-
{512C62B8-1438-428D-A5F1-EE693B0F3880}.Release|Any CPU.Build.0 = Release|Any CPU
2420
{ADB86DF0-98EF-4673-83AC-328B9B5F1D6A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2521
{ADB86DF0-98EF-4673-83AC-328B9B5F1D6A}.Debug|Any CPU.Build.0 = Debug|Any CPU
2622
{ADB86DF0-98EF-4673-83AC-328B9B5F1D6A}.Release|Any CPU.ActiveCfg = Release|Any CPU
2723
{ADB86DF0-98EF-4673-83AC-328B9B5F1D6A}.Release|Any CPU.Build.0 = Release|Any CPU
24+
{D41C1F5C-0540-48A0-B906-16742A22B5F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
25+
{D41C1F5C-0540-48A0-B906-16742A22B5F4}.Debug|Any CPU.Build.0 = Debug|Any CPU
26+
{D41C1F5C-0540-48A0-B906-16742A22B5F4}.Release|Any CPU.ActiveCfg = Release|Any CPU
27+
{D41C1F5C-0540-48A0-B906-16742A22B5F4}.Release|Any CPU.Build.0 = Release|Any CPU
2828
EndGlobalSection
2929
GlobalSection(SolutionProperties) = preSolution
3030
HideSolutionNode = FALSE
3131
EndGlobalSection
3232
GlobalSection(NestedProjects) = preSolution
33-
{512C62B8-1438-428D-A5F1-EE693B0F3880} = {44E5474F-E747-4C6B-8EC3-3FA2137B28F1}
3433
{277729BC-FD5E-4ABE-9B9D-497339136803} = {44E5474F-E747-4C6B-8EC3-3FA2137B28F1}
3534
{ADB86DF0-98EF-4673-83AC-328B9B5F1D6A} = {277729BC-FD5E-4ABE-9B9D-497339136803}
35+
{D41C1F5C-0540-48A0-B906-16742A22B5F4} = {277729BC-FD5E-4ABE-9B9D-497339136803}
3636
EndGlobalSection
3737
GlobalSection(ExtensibilityGlobals) = postSolution
3838
SolutionGuid = {5A05C3FD-C97A-4459-9483-49BE1A295C89}

src/ExampleApp/ExampleConsoleApp/ExampleConsoleApp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</PropertyGroup>
1313

1414
<ItemGroup>
15-
<ProjectReference Include="..\..\QWeather\QWeatherAPI.csproj" />
15+
<ProjectReference Include="..\..\QWeatherAPI\QWeatherAPI.csproj" />
1616
</ItemGroup>
1717

1818
</Project>

src/QWeatherAPI/PackIcon.png

5.85 KB
Loading
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<Authors>WindowsExplorer</Authors>
1010
<Description>可获取和风天气 API 数据。</Description>
1111
<Copyright>WindowsExplorer</Copyright>
12-
<PackageIcon>天气 (3).png</PackageIcon>
12+
<PackageIcon>PackIcon.png</PackageIcon>
1313
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
1414
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1515
<AssemblyVersion>1.1.0.*</AssemblyVersion>
@@ -20,10 +20,14 @@
2020
</PropertyGroup>
2121

2222
<ItemGroup>
23-
<None Include="..\..\..\..\..\..\..\..\Downloads\天气 (3).png">
23+
<None Remove="PackIcon.png" />
24+
</ItemGroup>
25+
26+
<ItemGroup>
27+
<EmbeddedResource Include="PackIcon.png">
2428
<Pack>True</Pack>
2529
<PackagePath>\</PackagePath>
26-
</None>
30+
</EmbeddedResource>
2731
</ItemGroup>
2832

2933
<ItemGroup>
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/QWeather/Result/RealTimeWeather/WeatherResult.cs renamed to src/QWeatherAPI/Result/RealTimeWeather/WeatherResult.cs

File renamed without changes.

0 commit comments

Comments
 (0)