1
0

2 کامیت‌ها b50ad4fa1f ... 73c8837cc8

نویسنده SHA1 پیام تاریخ
  wujingwei 73c8837cc8 增加附属文件 1 سال پیش
  wujingwei 266bb0efcc 附属文件 1 سال پیش

+ 54 - 1
GatewayTool/GatewayTool.csproj

@@ -228,6 +228,42 @@
     <EmbeddedResource Include="UserControls\UcDTUPanel.resx">
       <DependentUpon>UcDTUPanel.cs</DependentUpon>
     </EmbeddedResource>
+    <None Include="bin\Debug\Config.ini" />
+    <None Include="bin\Debug\GatewayTool.exe.config" />
+    <None Include="bin\Debug\log4net.config" />
+    <None Include="bin\Debug\Log\2023-03-24.log" />
+    <None Include="bin\Debug\Log\2023-03-25.log" />
+    <None Include="bin\Debug\Log\2023-03-27.log" />
+    <None Include="bin\Debug\Log\2023-03-28.log" />
+    <None Include="bin\Debug\Log\2023-03-29.log" />
+    <None Include="bin\Debug\Log\2023-03-30.log" />
+    <None Include="bin\Debug\Log\2023-03-31.log" />
+    <None Include="bin\Debug\Log\2023-04-03.log" />
+    <None Include="bin\Debug\Log\2023-04-04.log" />
+    <None Include="bin\Debug\Log\2023-04-06.log" />
+    <None Include="bin\Debug\Log\2023-04-07.log" />
+    <None Include="bin\Debug\Log\2023-04-08.log" />
+    <None Include="bin\Debug\Log\2023-04-10.log" />
+    <None Include="bin\Debug\Log\2023-04-11.log" />
+    <None Include="bin\Debug\Log\2023-04-12.log" />
+    <None Include="bin\Debug\Log\2023-04-13.log" />
+    <None Include="bin\Debug\Log\2023-04-14.log" />
+    <None Include="bin\Debug\Log\2023-04-17.log" />
+    <None Include="bin\Debug\Log\2023-04-18.log" />
+    <None Include="bin\Debug\Log\2023-04-19.log" />
+    <None Include="bin\Debug\Log\2023-04-20.log" />
+    <None Include="bin\Debug\Log\2023-04-21.log" />
+    <None Include="bin\Debug\Log\2023-04-23.log" />
+    <None Include="bin\Debug\Log\2023-04-24.log" />
+    <None Include="bin\Debug\Log\2023-04-25.log" />
+    <None Include="bin\Debug\Log\2023-04-26.log" />
+    <None Include="bin\Debug\Log\2023-04-27.log" />
+    <None Include="bin\Debug\Log\2023-04-28.log" />
+    <None Include="bin\Debug\Log\2023-05-04.log" />
+    <None Include="bin\Debug\Log\2023-05-05.log" />
+    <None Include="bin\Debug\Log\2023-05-06.log" />
+    <None Include="bin\Debug\Log\2023-05-08.log" />
+    <None Include="bin\Debug\Log\2023-05-17.log" />
     <None Include="Properties\Settings.settings">
       <Generator>SettingsSingleFileGenerator</Generator>
       <LastGenOutput>Settings.Designer.cs</LastGenOutput>
@@ -248,6 +284,21 @@
     <None Include="Resources\favicon.ico" />
   </ItemGroup>
   <ItemGroup>
+    <Content Include="bin\Debug\GatewayTool.exe" />
+    <Content Include="bin\Debug\GatewayTool.pdb" />
+    <Content Include="bin\Debug\Newtonsoft.Json.dll" />
+    <Content Include="bin\Debug\WjwLib.API.Algorithm.dll" />
+    <Content Include="bin\Debug\WjwLib.API.Communication.dll" />
+    <Content Include="bin\Debug\WjwLib.API.Configuration.dll" />
+    <Content Include="bin\Debug\WjwLib.API.File.dll" />
+    <Content Include="bin\Debug\WjwLib.API.System.dll" />
+    <Content Include="bin\Debug\WjwLib.Control.IPAddressBox.dll" />
+    <Content Include="bin\Debug\WjwLib.Control.LEDNumber.dll" />
+    <Content Include="bin\Debug\WjwLib.Control.LogWindow.dll" />
+    <Content Include="bin\Debug\WjwLib.Control.Switcher.dll" />
+    <Content Include="bin\Debug\WjwLib.Control.WaitLayer.dll" />
+    <Content Include="bin\Debug\WjwLib.Frame.FormBase.dll" />
+    <Content Include="bin\Debug\WjwLib.Frame.Log.dll" />
     <Content Include="favicon.ico" />
     <None Include="Resources\dtu.png" />
     <None Include="Resources\Refresh.png" />
@@ -260,6 +311,8 @@
     <None Include="Resources\stop.png" />
     <None Include="Resources\favimg.png" />
   </ItemGroup>
-  <ItemGroup />
+  <ItemGroup>
+    <Folder Include="bin\Release\" />
+  </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
 </Project>

+ 11 - 0
GatewayTool/bin/Debug/Config.ini

@@ -0,0 +1,11 @@
+[Net]
+ServicePortNum=3333
+[Log]
+ShowLogMaxLine=20
+LogFolderPath=C:\Users\Administrator\source\repos\GatewayTool\GatewayTool\bin\Debug\Log
+[Sniff]
+SniffRemotePortNum=2009
+SniffBaudRate=rate_115200
+SniffDataBits=Bit_8
+SniffStopBits=Bit_1
+SniffParity=none

BIN
GatewayTool/bin/Debug/Newtonsoft.Json.dll


BIN
GatewayTool/bin/Debug/WjwLib.API.Algorithm.dll


BIN
GatewayTool/bin/Debug/WjwLib.API.Communication.dll


BIN
GatewayTool/bin/Debug/WjwLib.API.Configuration.dll


BIN
GatewayTool/bin/Debug/WjwLib.API.File.dll


BIN
GatewayTool/bin/Debug/WjwLib.API.System.dll


BIN
GatewayTool/bin/Debug/WjwLib.Control.IPAddressBox.dll


BIN
GatewayTool/bin/Debug/WjwLib.Control.LEDNumber.dll


BIN
GatewayTool/bin/Debug/WjwLib.Control.LogWindow.dll


BIN
GatewayTool/bin/Debug/WjwLib.Control.Switcher.dll


BIN
GatewayTool/bin/Debug/WjwLib.Control.WaitLayer.dll


BIN
GatewayTool/bin/Debug/WjwLib.Frame.FormBase.dll


BIN
GatewayTool/bin/Debug/WjwLib.Frame.Log.dll


+ 25 - 0
GatewayTool/bin/Debug/log4net.config

@@ -0,0 +1,25 @@
+<log4net>
+  <root>
+    <level value="WARN" />
+    <appender-ref ref="LogFileAppender" />
+  </root>
+  <logger name="Logging">
+    <level value="DEBUG" />
+  </logger>
+  <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
+    <file value="Log/" />
+    <appendToFile value="true" />
+    <rollingStyle value="Date" />
+    <datePattern value="yyyy-MM-dd&quot;.log&quot;" />
+    <maxSizeToRollBackups value="-1" />
+    <maximumFileSize value="10MB" />
+    <staticLogFileName value="false" />
+    <layout type="log4net.Layout.PatternLayout,log4net">
+      <!--<conversionPattern value="%d - %-5level - %c - %m%n" />-->
+    </layout>
+    <filter type="log4net.Filter.LevelRangeFilter">
+      <param name="LevelMin" value="DEBUG" />
+      <param name="LevelMax" value="ERROR" />
+    </filter>
+  </appender>
+</log4net>