From 1f2fa3f54d4a7b5a2f601c4c947a06476342e3bd Mon Sep 17 00:00:00 2001 From: patrick.xu <patrick.xu@broconcentric.com> Date: 星期五, 22 一月 2021 09:23:06 +0800 Subject: [PATCH] 1. gocator驱动将system.stop移到system.ReceiveData之后 2. 修改测量完成后状态切换逻辑,避免安全光线等干扰 3. 添加设备异常输出日志记录 4. 产品结果输出时做硬盘文件记录 --- src/Bro.Device.GTSCard/Bro.Device.GTSCard.csproj | 24 +++++++++++++++++++----- 1 files changed, 19 insertions(+), 5 deletions(-) diff --git a/src/Bro.Device.GTSCard/Bro.Device.GTSCard.csproj b/src/Bro.Device.GTSCard/Bro.Device.GTSCard.csproj index d26bb8b..70fa0fa 100644 --- a/src/Bro.Device.GTSCard/Bro.Device.GTSCard.csproj +++ b/src/Bro.Device.GTSCard/Bro.Device.GTSCard.csproj @@ -31,10 +31,14 @@ <WarningLevel>4</WarningLevel> </PropertyGroup> <ItemGroup> + <Reference Include="Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> + <HintPath>..\..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll</HintPath> + </Reference> <Reference Include="System" /> <Reference Include="System.Configuration" /> <Reference Include="System.Core" /> <Reference Include="System.Drawing" /> + <Reference Include="System.Windows.Forms" /> <Reference Include="System.Xml.Linq" /> <Reference Include="System.Data.DataSetExtensions" /> <Reference Include="Microsoft.CSharp" /> @@ -45,12 +49,7 @@ <ItemGroup> <Compile Include="GTSCardDriver.cs" /> <Compile Include="GTSCardConfig.cs" /> - <Compile Include="GtsCardManager.cs" /> <Compile Include="GTSCardAPI.cs" /> - <Compile Include="GtsIO.cs" /> - <Compile Include="GtsMotionCard.cs" /> - <Compile Include="GtsParameter.cs" /> - <Compile Include="GtsPos.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <ItemGroup> @@ -62,6 +61,21 @@ <Project>{1A3CBFE7-3F78-42C3-95C5-10360450DBEA}</Project> <Name>Bro.Common.Model</Name> </ProjectReference> + <ProjectReference Include="..\Bro.UI.Device.Winform\Bro.UI.Device.Winform.csproj"> + <Project>{e6429c64-92b3-46a2-b35e-579856d47f62}</Project> + <Name>Bro.UI.Device.Winform</Name> + </ProjectReference> + </ItemGroup> + <ItemGroup> + <Content Include="gts.dll"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> + </ItemGroup> + <ItemGroup> + <None Include="GTS800.cfg"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </None> + <None Include="packages.config" /> </ItemGroup> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> </Project> \ No newline at end of file -- Gitblit v1.8.0