From c44b10e4447e84dbdfa9105edf460ef364a8f2b3 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期一, 30 十一月 2020 19:53:35 +0800 Subject: [PATCH] Merge branch 'master' into WJC --- HDL-ON_Android/HDL-ON_Android.csproj | 20 +++++++++++++++++--- 1 files changed, 17 insertions(+), 3 deletions(-) diff --git a/HDL-ON_Android/HDL-ON_Android.csproj b/HDL-ON_Android/HDL-ON_Android.csproj index b1300fb..6e0ea58 100644 --- a/HDL-ON_Android/HDL-ON_Android.csproj +++ b/HDL-ON_Android/HDL-ON_Android.csproj @@ -30,7 +30,7 @@ <DebugType>portable</DebugType> <Optimize>False</Optimize> <OutputPath>bin\Debug\</OutputPath> - <DefineConstants>DEBUG;TRACE</DefineConstants> + <DefineConstants>DEBUG;TRACE;__Android__</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <EmbedAssembliesIntoApk>False</EmbedAssembliesIntoApk> @@ -44,7 +44,7 @@ <DebugType>portable</DebugType> <Optimize>false</Optimize> <OutputPath>bin\Release\</OutputPath> - <DefineConstants>TRACE</DefineConstants> + <DefineConstants>TRACE;__Android__;</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <AndroidManagedSymbols>true</AndroidManagedSymbols> @@ -122,6 +122,9 @@ <Reference Include="Xamarin.Android.Support.Vector.Drawable"> <HintPath>..\DLL\Android\Xamarin.Android.Support.Vector.Drawable.dll</HintPath> </Reference> + <Reference Include="Shared.Droid.JLCountryCode"> + <HintPath>..\DLL\Android\Shared.Droid.JLCountryCode.dll</HintPath> + </Reference> </ItemGroup> <ItemGroup> <Compile Include="MainActivity.cs" /> @@ -131,6 +134,7 @@ <Compile Include="Scan.cs" /> <Compile Include="ZXingCustomScanView.cs" /> <Compile Include="ZXingOverlayView.cs" /> + <Compile Include="Other\JLCountrycode.cs" /> </ItemGroup> <ItemGroup> <None Include="Resources\AboutResources.txt" /> @@ -214,6 +218,9 @@ </PackageReference> <PackageReference Include="ZXing.Net.Mobile"> <Version>2.4.1</Version> + </PackageReference> + <PackageReference Include="RestSharp"> + <Version>106.11.7</Version> </PackageReference> </ItemGroup> <ItemGroup> @@ -573,7 +580,7 @@ <AndroidAsset Include="Assets\Phone\LogicIcon\addconditiontarget.png" /> <AndroidAsset Include="Assets\Phone\LogicIcon\back.png" /> <AndroidAsset Include="Assets\Phone\LogicIcon\next.png" /> - <AndroidAsset Include="Assets\Phone\LogicIcon\pushswitch.png" /> + <AndroidAsset Include="Assets\Phone\LogicIcon\off.png" /> <AndroidAsset Include="Assets\Phone\LogicIcon\functionicon.png" /> <AndroidAsset Include="Assets\Phone\LogicIcon\timeicon.png" /> <AndroidAsset Include="Assets\Phone\LogicIcon\timecondition.png" /> @@ -584,6 +591,13 @@ <AndroidAsset Include="Assets\Phone\LogicIcon\lightloguc.png" /> <AndroidAsset Include="Assets\Phone\LogicIcon\outletlogic.png" /> <AndroidAsset Include="Assets\Phone\LogicIcon\bjicon.png" /> + <AndroidAsset Include="Assets\Phone\LogicIcon\on.png" /> + <AndroidAsset Include="Assets\Phone\LogicIcon\weekoff.png" /> + <AndroidAsset Include="Assets\Phone\LogicIcon\weekon.png" /> + <AndroidAsset Include="Assets\Phone\LogicIcon\set.png" /> + <AndroidAsset Include="Assets\Phone\LogicIcon\editname.png" /> + <AndroidAsset Include="Assets\Phone\LogicIcon\delayed.png" /> + <AndroidAsset Include="Assets\Phone\LogicIcon\scene.png" /> </ItemGroup> <Import Project="..\HDL_ON\HDL_ON.projitems" Label="Shared" Condition="Exists('..\HDL_ON\HDL_ON.projitems')" /> <Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" /> -- Gitblit v1.8.0