develop
soul liu 2 years ago
parent fe63ba7b73
commit 4d8a5dc054
  1. 1
      General/General.csproj
  2. 8
      General/utils/CollectionsUtils.cs
  3. 8
      General/utils/StringUtils.cs
  4. 7
      General/utils/TimerUtils.cs
  5. 4
      SerialPort/SerialPort.csproj
  6. 7
      SerialPort/utils/GodSerialPortUtils.cs
  7. 4
      Soul2-Library.sln

@ -5,6 +5,7 @@
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<RootNamespace>Soul2.$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace> <RootNamespace>Soul2.$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace>
<AssemblyName>Soul2.$(MSBuildProjectName)</AssemblyName>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

@ -1,10 +1,4 @@
using Microsoft.VisualBasic; using System.Collections;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Soul2.General.utils { namespace Soul2.General.utils {
public static class CollectionsUtils { public static class CollectionsUtils {

@ -1,10 +1,4 @@
using System; namespace Soul2.General.utils {
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Soul2.General.utils {
/// <summary> /// <summary>
/// 字符串工具类 /// 字符串工具类
/// By Soul2 /// By Soul2

@ -1,9 +1,4 @@
using System; using System.Timers;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
using Timer = System.Timers.Timer; using Timer = System.Timers.Timer;
namespace Soul2.General.utils { namespace Soul2.General.utils {

@ -5,14 +5,16 @@
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<RootNamespace>Soul2.$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace> <RootNamespace>Soul2.$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace>
<AssemblyName>Soul2.$(MSBuildProjectName)</AssemblyName>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="GodSharp.SerialPort" Version="1.2.0.6" /> <PackageReference Include="GodSharp.SerialPort" Version="1.2.0.6" />
<PackageReference Include="System.IO.Ports" Version="7.0.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="..\General\Soul2.General.csproj" /> <ProjectReference Include="..\General\General.csproj" />
</ItemGroup> </ItemGroup>
</Project> </Project>

@ -1,9 +1,4 @@
using System; using System.Diagnostics;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GodSharp.SerialPort.Extensions; using GodSharp.SerialPort.Extensions;
using GodSharp.SerialPort; using GodSharp.SerialPort;
using System.IO.Ports; using System.IO.Ports;

@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17 # Visual Studio Version 17
VisualStudioVersion = 17.5.33530.505 VisualStudioVersion = 17.5.33530.505
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Soul2.General", "General\Soul2.General.csproj", "{8B24AB73-0D6F-426D-92D3-25CBE6ED718E}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "General", "General\General.csproj", "{8B24AB73-0D6F-426D-92D3-25CBE6ED718E}"
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Soul2.SerialPort", "SerialPort\Soul2.SerialPort.csproj", "{B2EFA26A-A2CF-4090-85FD-31085D7A1A65}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SerialPort", "SerialPort\SerialPort.csproj", "{B2EFA26A-A2CF-4090-85FD-31085D7A1A65}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution

Loading…
Cancel
Save