Skip to content

Commit

Permalink
加入Talker类 删除或者排除部分无用的类和项目
Browse files Browse the repository at this point in the history
该类作为主要的功能提供者,提供serialport的构造参数,以及数据到达时候的事件处理函数
  • Loading branch information
gc87 committed Jun 7, 2015
1 parent 65fb92e commit 74188e5
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 12 deletions.
6 changes: 0 additions & 6 deletions Windup.ConsoleTest/Windup.ConsoleTest.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{335E82E9-F896-4204-9979-95FAE813A166}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>Windup.ConsoleTest</RootNamespace>
Expand Down Expand Up @@ -39,10 +37,6 @@
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<ProjectReference Include="..\Windup.ExecuteEngine\Windup.ExecuteEngine.csproj">
<Project>{F040CF4B-B4EA-40D4-9F9F-B9CC2141BB88}</Project>
<Name>Windup.ExecuteEngine</Name>
</ProjectReference>
<ProjectReference Include="..\Windup.SerialTalker\Windup.SerialTalker.csproj">
<Project>{2453B3F5-E8E9-403D-A442-2034E27DE6B7}</Project>
<Name>Windup.SerialTalker</Name>
Expand Down
20 changes: 20 additions & 0 deletions Windup.SerialTalker/Talker.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using System;

namespace Windup.SerialTalker
{
public class Talker
{
public Talker ()
{
}

public Talker(string serialName, int baudRate, LineBreak lineBreak)
{
}

public Talker(AgentSetting setting, LineBreak lineBreak)
{
}
}
}

3 changes: 1 addition & 2 deletions Windup.SerialTalker/Windup.SerialTalker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{2453B3F5-E8E9-403D-A442-2034E27DE6B7}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
Expand Down Expand Up @@ -50,6 +48,7 @@
<Compile Include="SerialAgent.cs" />
<Compile Include="SerialList.cs" />
<Compile Include="WriteFlagEnum.cs" />
<Compile Include="Talker.cs" />
</ItemGroup>
<ItemGroup>
<Folder Include="Analyzers\" />
Expand Down
5 changes: 1 addition & 4 deletions Windup.sln
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
# Visual Studio 2012
VisualStudioVersion = 12.0.30501.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Windup.SerialTalker", "Windup.SerialTalker\Windup.SerialTalker.csproj", "{2453B3F5-E8E9-403D-A442-2034E27DE6B7}"
Expand Down Expand Up @@ -55,7 +55,4 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = Windup.ConsoleTest\Windup.ConsoleTest.csproj
EndGlobalSection
EndGlobal

0 comments on commit 74188e5

Please sign in to comment.